|
@@ -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 || '操作失败')
|
|
|
}
|