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([])) + } + } + }) } } -}; +}