diff --git a/pages/search-page/search-page.vue b/pages/search-page/search-page.vue index 97b7945..dc9f38d 100644 --- a/pages/search-page/search-page.vue +++ b/pages/search-page/search-page.vue @@ -97,7 +97,9 @@ export default { /** * 生命周期函数--监听页面隐藏 */ - onHide: function () {}, + onHide: function () { + this.prodName = '' + }, /** * 生命周期函数--监听页面卸载