debug: log stopTreatment success/failure on stop button
这个提交包含在:
@@ -314,7 +314,11 @@ Page({
|
|||||||
content: '确定要提前结束本次使用吗?',
|
content: '确定要提前结束本次使用吗?',
|
||||||
success: function (res) {
|
success: function (res) {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
ble.stopTreatment().catch(function () {}).then(function () {
|
ble.stopTreatment().then(function (res) {
|
||||||
|
console.log('[TREAT] 停止命令发送成功', res)
|
||||||
|
}).catch(function (err) {
|
||||||
|
console.error('[TREAT] 停止命令发送失败', err)
|
||||||
|
}).then(function () {
|
||||||
self.finishAsComplete()
|
self.finishAsComplete()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户