浏览代码

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

zhangxc 6 年之前
父节点
当前提交
a0b6c7f2b8
共有 1 个文件被更改,包括 1 次插入0 次删除
  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)  //去掉名称为默认值的填写单类型
       
           }