excellent为空

This commit is contained in:
zhangsir
2024-01-11 16:31:05 +08:00
parent 12c3d303ed
commit f257f810be

View File

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