duy hace 2 semanas
padre
commit
ae7e771316
Se han modificado 1 ficheros con 5 adiciones y 2 borrados
  1. 5 2
      src/views/data-fill/division.vue

+ 5 - 2
src/views/data-fill/division.vue

@@ -2235,8 +2235,11 @@ const removeContractTreeNode = async (isBatch) => {
     })
     loadingInstance.close()
     if (!error && code === 200) {
-        window?.$message?.success('删除成功')
-        window?.location?.reload() //刷新页面
+        window?.$message?.success(msg)
+        setTimeout(()=>{
+            window.location.reload()
+        }, 1000)
+      
     } else {
         window?.$message?.error(msg || '操作失败')
     }