Commit f9987e18 by 陈玉桐

fix 首页跳转

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