From 2e758796ff3850e86e4506c088e83e79ff99b6d6 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Thu, 18 Apr 2024 15:34:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/columnGoods/goods_search/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/columnGoods/goods_search/index.vue b/pages/columnGoods/goods_search/index.vue index 362e729..b77e85b 100644 --- a/pages/columnGoods/goods_search/index.vue +++ b/pages/columnGoods/goods_search/index.vue @@ -204,7 +204,7 @@ this.searchValue = options.searchVal || '' this.back = options.back; if (options.shop == 'true') { - this.isShop = options.shop; + this.isShop = true; uni.setNavigationBarTitle({ title: '搜索店铺' }) @@ -241,7 +241,7 @@ uni.showModal({ title: '提示', content: '确认删除全部历史搜索记录?', - success: function(res) { + success: (res) => { if (res.confirm) { self.tempStorage = [] try {