From bec8625b6903271c20ea836f467390b8c20466a1 Mon Sep 17 00:00:00 2001 From: lifizer <913626195@qq.com> Date: Fri, 19 Apr 2024 14:57:34 +0800 Subject: [PATCH] =?UTF-8?q?Feat(=E6=90=9C=E7=B4=A2):=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=8E=86=E5=8F=B2=E6=90=9C=E7=B4=A2=E8=AE=B0?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/shop/GoodSearch/index.vue | 36 +++++++++++++++++++++++++++++---- 1 file changed, 32 insertions(+), 4 deletions(-) diff --git a/pages/shop/GoodSearch/index.vue b/pages/shop/GoodSearch/index.vue index 76cdd54..9fa7f13 100644 --- a/pages/shop/GoodSearch/index.vue +++ b/pages/shop/GoodSearch/index.vue @@ -15,7 +15,17 @@ - 历史搜索 + + 历史搜索 + + { + if (result.confirm) { + _this.historyKey = [] + uni.setStorageSync('historyKey', JSON.stringify([])) + } + } + }) } } -}; +}