소스 검색

别名修复

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 = '';
     },