Commit d35882fb by liangjianmin

bug

parent 33f49487
Showing with 6 additions and 4 deletions
......@@ -176,9 +176,11 @@ export default {
this.wstyptll_id = res.data[0].wstyptll_id;
this.sendDataChange(); //发送数据
} else {
uni.showToast({
title: res.err_msg,
icon: 'error'
uni.showModal({
title: '提示',
content: res.err_msg,
showCancel: false,
confirmText: '关闭'
});
}
});
......@@ -263,7 +265,7 @@ export default {
content: '打印失败,请重新进入打印页面',
showCancel: false,
confirmText: '关闭',
success: function(res) {
success: res => {
if (res.confirm) {
this.characteristics = ''; //连接蓝牙信息清空
this.deviceId = ''; //连接蓝牙信息清空
......
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 sign in to comment