调整
This commit is contained in:
@@ -234,12 +234,16 @@
|
||||
pageSize: 100,
|
||||
currentPage: 1,
|
||||
step: 400,
|
||||
randomValue: 400,
|
||||
timer: [],
|
||||
loadMallIndex: 0,
|
||||
loadMode: 0, // 加载模式,0表示单个店铺加载,1表示一键加载
|
||||
robMode: 0, // 抢仓模式,0表示普通抢仓,1表示极速抢仓
|
||||
isCreateDeliveryBill: false,
|
||||
|
||||
// 网络超时次数
|
||||
networkErrorCount: 0,
|
||||
|
||||
successDlgShow: false,
|
||||
successMallId: '',
|
||||
successList: []
|
||||
@@ -314,6 +318,7 @@
|
||||
},
|
||||
|
||||
handleRobClick (e) {
|
||||
this.networkErrorCount = 0
|
||||
if (e === 'normal') {
|
||||
this.robMode = 0
|
||||
} else if (e === 'faster') {
|
||||
@@ -476,10 +481,13 @@
|
||||
if (this.isBegin) {
|
||||
setTimeout(() => {
|
||||
this.rob(sn, mallId)
|
||||
}, this.choosedList.length * this.step)
|
||||
}, this.choosedList.length * this.step + Math.floor((Math.random() * this.randomValue) + 1))
|
||||
}
|
||||
}
|
||||
}
|
||||
if (40002 == res.error_code) {
|
||||
|
||||
}
|
||||
})
|
||||
},
|
||||
createDeliveryBill(sn, mallId) {
|
||||
|
||||
Reference in New Issue
Block a user