Commit 9a724568 by 陈玉桐

设备未在线不弹窗

parent f8aaae7e
...@@ -861,11 +861,11 @@ Page({ ...@@ -861,11 +861,11 @@ Page({
clearInterval(timer) clearInterval(timer)
} }
}else{ }else{
wx.showModal({ // wx.showModal({
title: '提示', // title: '提示',
showCancel: false, // showCancel: false,
content: res.data.msg // content: res.data.msg
}) // })
// 设备未在线 // 设备未在线
me.setData({ me.setData({
trainingStatus: 3,//训练状态 1正在训练 0:未训练 trainingStatus: 3,//训练状态 1正在训练 0:未训练
...@@ -878,11 +878,11 @@ Page({ ...@@ -878,11 +878,11 @@ Page({
},1000) },1000)
} }
}else{ }else{
wx.showModal({ // wx.showModal({
title: '提示', // title: '提示',
showCancel: false, // showCancel: false,
content: res.data.msg // content: res.data.msg
}) // })
// 设备未在线 // 设备未在线
me.setData({ me.setData({
trainingStatus: 3,//训练状态 1正在训练 0:未训练 trainingStatus: 3,//训练状态 1正在训练 0:未训练
......
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