Commit bf2d5a54 by 姜雷

Merge branch 'develop' into test

parents c4fc31ff 76a6319a
......@@ -689,6 +689,18 @@ class Pay extends Component {
});
}
showerPayHandle() {
this.closeBluetooth();
return Taro.showModal({
title: '提示',
content: '设备蓝牙连接失败...请稍后再试',
showCancel: false,
}).then(res => {
console.log(res);
this.openBluetooth();
});
}
payHandle() {
const {
device,
......@@ -699,10 +711,7 @@ class Pay extends Component {
if (this.checkIsShower()) {
console.log(deviceDone, sockedDone);
if (!deviceDone || !sockedDone) {
return Taro.showModal({
title: '提示',
content: '设备连接中...请稍后再试',
});
return this.showerPayHandle();
}
}
getPayOrder({
......
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