罗世杰:fixed:修复各个使用下拉框处异常请求问题

This commit is contained in:
LuoShijie
2023-11-24 21:44:39 +08:00
parent 67dd393a7f
commit 742f2a7023
9 changed files with 153 additions and 109 deletions

View File

@@ -7,7 +7,7 @@
</view>
<view class="marginLR10">
<DropDown @getQueryInfo="getShopList"></DropDown>
<DropDown @getQueryInfo="getShopList" ref="dropdown" @cancelPageNum="cancelPageNum"></DropDown>
</view>
<view class="marginLR10">
<SearchShopList :showStyle="1" :searchInfoList="searchInfoList" />
@@ -52,6 +52,7 @@
// this.pageNum=1
// }
this.getShopList(q, "refresh")
this.$refs.dropdown.resetInfo()
// }
},
@@ -133,6 +134,10 @@
...query
})
return q
},
cancelPageNum() {
this.pageNum = 1;
this.refresh = true
}
}