This commit is contained in:
@@ -234,9 +234,11 @@ export default {
|
||||
await new Promise(resolve => setTimeout(resolve, interval));
|
||||
}
|
||||
|
||||
// 超时
|
||||
this.step = '';
|
||||
uni.showToast({ title: '开门超时,请重试', icon: 'none' });
|
||||
// 轮询结束
|
||||
if (this.step === 'opening') {
|
||||
this.step = '';
|
||||
uni.showToast({ title: '开门超时,请重试', icon: 'none' });
|
||||
}
|
||||
},
|
||||
|
||||
// 查询订单信息
|
||||
|
||||
Reference in New Issue
Block a user