Ver código fonte

清除数据保存修改

duy 1 semana atrás
pai
commit
ce40d636b3
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      src/views/data-fill/collapse-form/index.vue

+ 2 - 2
src/views/data-fill/collapse-form/index.vue

@@ -2575,9 +2575,9 @@ const clearSaveClick = async (type)=>{
                 const itemFormData = refs?.getFormData()
                 
                 // 主动调用保存接口 - 使用重新加载后的数据
-                isRemoveForSubTab.value = true
+                isRemoveForSubTab.value = 1
                 await tableFormSaveClick(itemFormData)
-                 isRemoveForSubTab.value = false
+                 isRemoveForSubTab.value = ''
                 if (DragModalTableForm.value.length > 0) {
                     let draindex = arrIndex(
                         DragModalTableForm.value,