Browse Source

别名修复

gangyj 2 years ago
parent
commit
195686111d
2 changed files with 4 additions and 0 deletions
  1. 2 0
      src/views/manager/projectinfo/tree.vue
  2. 2 0
      src/views/manager/wbsinfo/edit.vue

+ 2 - 0
src/views/manager/projectinfo/tree.vue

@@ -2630,6 +2630,8 @@ export default {
       this.aliasVisible = true;
       if(this.nodeDetail.fullName){
         this.aliasArr = this.nodeDetail.fullName.split(',');
+      }else{
+        this.aliasArr = [];
       }
       this.aliasInput = '';
     },

+ 2 - 0
src/views/manager/wbsinfo/edit.vue

@@ -2858,6 +2858,8 @@ export default {
       this.aliasVisible = true;
       if(this.nodeDetail.fullName){
         this.aliasArr = this.nodeDetail.fullName.split(',');
+      }else{
+        this.aliasArr = [];
       }
       this.aliasInput = '';
     },