diff --git a/package2/group/studentStoreList.vue b/package2/group/studentStoreList.vue index a909cb1..c58d88c 100644 --- a/package2/group/studentStoreList.vue +++ b/package2/group/studentStoreList.vue @@ -379,22 +379,27 @@ }, quickSearch(item) { this.searchForm.keyWord = item.title - this.checkedTab = '' + this.clearCategoryCondition() this.resetList() this.getShopList() }, searchHotWord(word) { this.searchForm.keyWord = word.replace(/[^\u4e00-\u9fa5A-Za-z0-9]/g, '') - this.checkedTab = '' + this.clearCategoryCondition() this.resetList() this.getShopList() }, focusSearch() {}, goSearch() { - this.checkedTab = '' + this.clearCategoryCondition() this.resetList() this.getShopList() }, + clearCategoryCondition() { + this.checkedTab = '' + this.searchForm.shopType = '' + this.$delete(this.searchForm, 'isStudent') + }, searchShop(type, value) { this.searchForm.pageNumber = 1 if (type == 'area') {