赋值page1
This commit is contained in:
@@ -205,6 +205,7 @@ export default {
|
||||
},
|
||||
switchCurrent(current) {
|
||||
// if(current == 1 && this.current == 1) this.priceOrderAsc = !this.priceOrderAsc;
|
||||
this.page = 1;
|
||||
this.current = current;
|
||||
this.goodsList = []
|
||||
this.ShopSearch()
|
||||
|
||||
@@ -128,8 +128,9 @@ export default {
|
||||
})
|
||||
},
|
||||
switchCurrent(current) {
|
||||
this.ShopSearch()
|
||||
this.page = 1
|
||||
if(current == 1 && this.current == 1) this.priceOrderAsc = !this.priceOrderAsc;
|
||||
this.ShopSearch()
|
||||
this.current = current;
|
||||
},
|
||||
setViewHeight() {
|
||||
|
||||
Reference in New Issue
Block a user