From 560a2f49ed52c69f7e6d8c431091156a857495c8 Mon Sep 17 00:00:00 2001
From: lifizer <913626195@qq.com>
Date: Thu, 20 Jun 2024 17:24:37 +0800
Subject: [PATCH] =?UTF-8?q?Fix(=E7=89=B9=E4=BA=A7):[#1828]=E9=A1=B5?=
=?UTF-8?q?=E9=9D=A2=E6=BB=91=E5=8A=A8=E5=95=86=E5=93=81=E5=90=8E=E6=90=9C?=
=?UTF-8?q?=E7=B4=A2=E5=8A=9F=E8=83=BD=E6=97=A0=E6=95=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pkg_product/views/nativeList.vue | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
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