|
@@ -717,6 +717,13 @@ const isSelectEle = async () => {
|
|
|
//移除挂载的函数
|
|
|
const delEquationSelect = (name) => {
|
|
|
equationSelectEle.value?.children?.splice(Number(name), 1)
|
|
|
+ const data = getArrValue(equationSelectEle.value?.children)
|
|
|
+ if (data.length <= 0) {
|
|
|
+ formulaCardType.value = 'project'
|
|
|
+ equationSelectIndex.value = -1
|
|
|
+ equationSelectEle.value = {}
|
|
|
+ equationSelectEleCopy.value = {}
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
//切换公式tab标签
|