Commit d35882fb by liangjianmin

bug

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