diff --git a/pkg_product/views/nativeList.vue b/pkg_product/views/nativeList.vue index 869d26f..8a8bf49 100644 --- a/pkg_product/views/nativeList.vue +++ b/pkg_product/views/nativeList.vue @@ -7,13 +7,13 @@ type="text" placeholder="ๆœ็ดขๅ•†ๅ“" placeholder-style="color:#949494" - @confirm="search" + @confirm="searchHandle" > + @click="searchHandle"> @@ -85,7 +85,7 @@ export default { this.cityName = memCityName uni.removeStorageSync('cityName') } - this.search() + this.search(1) }, onLower() { if (this.loading) { @@ -94,6 +94,11 @@ export default { this.page++ this.search() }, + searchHandle() { + // fix bug#1828 + this.page = 1 + this.search() + }, search() { const _this = this _this.loading = true