二手车交易,切换接口调用次数

This commit is contained in:
2025-03-13 15:29:09 +08:00
parent 5a236926d7
commit 2a03a95963

View File

@ -122,10 +122,6 @@ export default {
name: "indexList", name: "indexList",
mixins:[myMixins], mixins:[myMixins],
watch:{ watch:{
activeTab(){
this.setSearchVal();
this.getList()
},
topSearch(){ topSearch(){
this.setSearchVal(); this.setSearchVal();
this.getList() this.getList()
@ -201,6 +197,7 @@ export default {
this.pageNum = 1 this.pageNum = 1
this.pageList = []; this.pageList = [];
this.total=0 this.total=0
await this.setSearchVal();
await this.getList() await this.getList()
}, },
async onLoad(){ async onLoad(){