Przeglądaj źródła

独立标签标签归属名称

zhangxc 6 lat temu
rodzic
commit
7658d6f547
1 zmienionych plików z 1 dodań i 6 usunięć
  1. 1 6
      src/components/icss/IndeptLabel.vue

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

@@ -142,13 +142,8 @@
         api.getTagList(param).then((res) => {
           const list = res.data.data.records
           for (var i = 0; i < list.length; i++) {
-            for (var j =  0; j < this.tagTypes.length; j++) {
-              if(list[i].tagType === this.tagTypes[j].val) {
-                list[i].tagTypeCn = this.tagTypes[j].name;
-              }
-            }
             for (var z =  0; z < this.Adscriptions.length; z++) {
-              if(list[i].type === this.Adscriptions[z].val) {
+              if(list[i].type == this.Adscriptions[z].val) {
                 list[i].typeCn = this.Adscriptions[z].name
               }
             }