excellent为false

This commit is contained in:
zhangsir
2024-01-11 16:33:03 +08:00
parent f257f810be
commit 050ecb06dd

View File

@@ -1088,13 +1088,13 @@ export default {
this.search(true); this.search(true);
}, },
searchexcellent(num) { searchexcellent(num) {
this.queryCondition.excellent =false;
if(this.queryCondition.type==num){ if(this.queryCondition.type==num){
this.queryCondition.excellent =''; this.queryCondition.excellent =false;
this.queryCondition.type = ''; this.queryCondition.type = '';
this.search(true) this.search(true)
return return
} }
this.queryCondition.excellent =false;
this.queryCondition.type = num; this.queryCondition.type = num;
if(num == 'excellent'){ if(num == 'excellent'){
this.queryCondition.excellent =true; this.queryCondition.excellent =true;
@@ -1246,11 +1246,11 @@ export default {
this.queryCondition.years = this.years.map(item => parseInt(item)) this.queryCondition.years = this.years.map(item => parseInt(item))
// 设置最佳案例为true或是false // 设置最佳案例为true或是false
// if (this.queryCondition.type == 'excellent') { if (this.queryCondition.type == 'excellent') {
// this.queryCondition.excellent = true; this.queryCondition.excellent = true;
// } else { } else {
// this.queryCondition.excellent = false; this.queryCondition.excellent = false;
// } }
//this.getTags(); //this.getTags();
// if (this.queryCondition.pageIndex == 1) { // if (this.queryCondition.pageIndex == 1) {