|
|
@@ -36,7 +36,8 @@ export default {
|
|
|
globalPy:'',
|
|
|
globalItemData:[],
|
|
|
globalScrollTopPlace:0,
|
|
|
- globalScrollTopOldPlace:0
|
|
|
+ globalScrollTopOldPlace:0,
|
|
|
+ globalIsRequesting:false
|
|
|
};
|
|
|
},
|
|
|
onLoad(options) {
|
|
|
@@ -172,6 +173,7 @@ export default {
|
|
|
}else{
|
|
|
that.globalFinishGetItem = 1
|
|
|
}
|
|
|
+ that.globalIsRequesting = false
|
|
|
that.globalRememberRefresh()
|
|
|
}
|
|
|
})
|
|
|
@@ -269,7 +271,11 @@ export default {
|
|
|
this.globalScrollTopOldPlace = event.detail.scrollTop
|
|
|
},
|
|
|
globalScrollBottom(){
|
|
|
- this.getGlobalProductList()
|
|
|
+ if(this.globalIsRequesting == true){
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ this.globalIsRequesting = true
|
|
|
+ this.getGlobalProductList()
|
|
|
},
|
|
|
getSelectItemById(id, classId) {
|
|
|
let info = { bigCount: null, smallCount: null, autoPrice: null, itemPrice: null }
|