Skip to content

Commit

Permalink
搜索页回调搜索栏清空
Browse files Browse the repository at this point in the history
  • Loading branch information
yoona-lin committed May 11, 2021
1 parent c46bf35 commit 99a5b0c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mall4uni/pages/search-page/search-page.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ export default {
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {},
onHide: function () {
this.prodName = ''
},
/**
* 生命周期函数--监听页面卸载
Expand Down

0 comments on commit 99a5b0c

Please sign in to comment.