Commit f9987e18 by 陈玉桐

fix 首页跳转

parent b979ed47
......@@ -427,6 +427,15 @@ Page({
success: function (res) {
// 请求成功后关闭Loading
wx.hideLoading();
// 没有孩子跳转完善信息
if(res.data.errno==40010){
wx.navigateTo({
url: '/pages/childInfo/childInfo'
})
return
}
if(res.data.errno==200){
// 锁定设备警告状态
// 1:正常使用设备;
......@@ -577,9 +586,9 @@ Page({
},
// 小目标
target:function(){
wx.navigateTo({
url: '/pages/targetList/targetList'
})
// wx.navigateTo({
// url: '/pages/targetList/targetList'
// })
},
// 立即关机
PowerOff: function () {
......
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