Browse Source

bug修改

Luolei 6 years ago
parent
commit
96989c1666
2 changed files with 5 additions and 3 deletions
  1. 0 1
      src/components/icss/PubIndeptTag.vue
  2. 5 2
      src/components/icss/PubTagGroup.vue

+ 0 - 1
src/components/icss/PubIndeptTag.vue

@@ -562,7 +562,6 @@
             width: 40px;
             padding: 0 5px;
         }
-
     }
     .PubTagGroupWrapper .fix-inp .el-col .el-input__inner{
         width: 100%;

+ 5 - 2
src/components/icss/PubTagGroup.vue

@@ -375,6 +375,7 @@ export default {
       systom: null,      //标签系统名称存在与否
       systemNameShow: false,//系统名称列表显示
       systemNameLis: [],//系统名称列表
+      isNeedSearch:false
     }
   },
   computed: {
@@ -419,7 +420,7 @@ export default {
       }
     },
     newName(nextVal, prevVal) {
-      if (nextVal != prevVal && (this.form.region12 == 0)) {
+      if (this.isNeedSearch && nextVal != prevVal && (this.form.region12 == 0)) {
         this.focusSystemName()
       }
     },
@@ -440,6 +441,7 @@ export default {
       }
     },
     focusSystemName() {
+      this.isNeedSearch = true
       if (this.form.region3.trim() == '') {
         this.systemNameShow = false
         this.systemNameLis = []
@@ -471,6 +473,7 @@ export default {
       }
     },
     pushSystemName(val) {
+      this.isNeedSearch = false
       this.form.region3 = val
       this.systemNameShow = false
     },
@@ -629,7 +632,7 @@ export default {
       top: 28px;
     }
     .el-form-item__label {
-      line-height: 30px;
+      line-height: 24px !important;
       text-align: left;
     }
     .el-input__icon {