Browse Source

删除节点

duy 2 years ago
parent
commit
19110f8607
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/data-fill/division.vue

+ 1 - 1
src/views/data-fill/division.vue

@@ -747,7 +747,7 @@ const ElTreeMenuClick = async ({ key, node, data, keys }) => {
         sortNodeModal.value = true
     } else if (key === 'del') {
         // delModalClick()
-        if (data['colorStatus'] === 1 || data['colorStatus'] === 2) {
+        if (data['colorStatus'] === 1 || data['colorStatus'] === 2 || data['colorStatus'] === null) {
             delModalClick()
         } else {
             window?.$message?.warning('该节点已存在上报数据,不允许删除')