Explorar el Código

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

zhangxc hace 6 años
padre
commit
a0b6c7f2b8
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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)  //去掉名称为默认值的填写单类型
       
           }