浏览代码

别名修复

gangyj 2 年之前
父节点
当前提交
195686111d
共有 2 个文件被更改,包括 4 次插入0 次删除
  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 = '';
     },