|
@@ -33,7 +33,7 @@
|
|
|
|
|
|
<el-col :span="6" v-for="item in typeList" :key="item.id" v-if="item.isOpen && item.isNew==0 && !item.link">
|
|
|
<el-button :class="{type_active:item.name==type }" class="type_item" type="text"
|
|
|
- @click="type=item.name">{{item.name}} </el-button>
|
|
|
+ @click="type=item.name">{{item.name}}</el-button>
|
|
|
</el-col>
|
|
|
|
|
|
|
|
@@ -480,12 +480,12 @@
|
|
|
this.list = [];
|
|
|
for (let i in this.allList) {
|
|
|
let item = this.allList[i];
|
|
|
- if (type && item.type != type) continue;
|
|
|
+ if (type != '' && item.type != type) continue;
|
|
|
if (this.ndList.indexOf(item.nd) == -1) {
|
|
|
this.ndList.push(item.nd);
|
|
|
}
|
|
|
- if (filterName && item.name.indexOf(filterName) == -1) continue;
|
|
|
- if (nd && item.nd != nd) continue;
|
|
|
+ if (filterName!='' && item.name.indexOf(filterName) == -1) continue;
|
|
|
+ if (nd != '' && item.nd != nd) continue;
|
|
|
this.list.push(item)
|
|
|
}
|
|
|
},
|