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 {