Browse Source

独立标签过滤掉填写单类型为默认值的选项

zhangxc 6 năm trước cách đây
mục cha
commit
a0b6c7f2b8
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      src/components/icss/IndeptLabel.vue

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

@@ -129,6 +129,7 @@
           if(res.data.code === '0') {
             this.Adscriptions = res.data.data[1];
             this.tagTypes =  res.data.data[6];
+            this.tagTypes =  this.tagTypes.filter(item => item.val != 0)  //去掉名称为默认值的填写单类型
       
           }