mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-18 00:15:54 +08:00
feat: ✨ 优化联系客服,搜索功能显搜索关键字
This commit is contained in:
@@ -700,11 +700,13 @@ export default {
|
||||
keyword = (this.hotKeywordList.length && this.hotKeywordList[0]) || '';
|
||||
}
|
||||
this.defaultKeyword == '请输入搜索商品' ? (keyword = '') : '';
|
||||
// this.keyword = keyword;
|
||||
|
||||
|
||||
keyword ? (this.keyword = keyword) : '';
|
||||
this.saveKeyword(keyword); //保存为历史
|
||||
this.isShowSeachGoods = true;
|
||||
this.$refs.mSearch.isShowSeachGoods = true;
|
||||
this.$refs.mSearch.inputVal = keyword;
|
||||
this.params.keyword = this.keyword;
|
||||
this.params.pageNumber = 1;
|
||||
this.$set(this.sortParams, 'keyword', keyword);
|
||||
|
||||
Reference in New Issue
Block a user