Explorar o código

删除节点修改

duy hai 1 ano
pai
achega
02a816705a
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  1. 4 3
      src/views/project/debit/contract/unit.vue

+ 4 - 3
src/views/project/debit/contract/unit.vue

@@ -464,9 +464,10 @@ const removeContractTreeNode = async () => {
     loadingInstance.close()
     if (!error && code === 200) {
         window?.$message?.success(msg)
-        setTimeout(() => {
-            window?.location?.reload() //刷新页面
-        }, 1000)
+        finishForm()
+        // setTimeout(() => {
+        //     window?.location?.reload() //刷新页面
+        // }, 1000)
 
     } else {
         window.$message.error(msg)