Commit d1b39fed by 高淑倩

getDetailLimitCount&&status

parent c8f142b3
......@@ -114,9 +114,18 @@ wxService.page({
if (result.min < 10) result.min = '0' + result.min;
if (result.hour < 10) result.hour = '0' + result.hour;
} else {
const {id} = this.data
const {detail, id} = this.data
console.log('status', detail.status)
if (!this.getDetailLimitCount) {
this.getDetailLimitCount = 1
} else {
this.getDetailLimitCount++
}
console.log('detail-request', this.getDetailLimitCount)
if (this.getDetailLimitCount <= 1 && detail.status == 'N') {
this.getOrderDetail(id)
}
}
return result;
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment