Browse Source

搜索优化

master
wanghongjun 2 years ago
parent
commit
a965b32f4c
  1. 10
      pages/search/index.vue

10
pages/search/index.vue

@ -65,7 +65,7 @@
import pako from '@/core/pako'
import { base64ToUint8Array,numberWithCommas} from '@/utils/util'
const pageSize = 2
const pageSize = 10
export default {
components: {
@ -112,12 +112,8 @@
* 搜索提交
*/
async onSearch() {
if (this.searchValue == '') {
this.$error('请输入搜索关键词');
} else {
await this.getGoodsList()
await this.getHomeListImage()
}
await this.getGoodsList()
await this.getHomeListImage()
},
// tab
async changeTab(val) {

Loading…
Cancel
Save