diff --git a/App.vue b/App.vue index 10379df..4e03ce8 100644 --- a/App.vue +++ b/App.vue @@ -79,27 +79,27 @@ } }) - setTimeout(function(){ - console.log("执行 setTimeout") - if(!checkTokenCallBackFlag){ - uni.showModal({ - title: '提示', - showCancel: false, - content: '您已退出登录', - success: function (res) { - if (res.confirm) { - uni.sendNativeEvent('goTabbarPage', { - msg: 'home' - }, ret => { - console.log(ret); - }) - } else if (res.cancel) { - console.log('用户点击取消'); - } - } - }); - } - }, 1000) + // setTimeout(function(){ + // console.log("执行 setTimeout") + // if(!checkTokenCallBackFlag){ + // uni.showModal({ + // title: '提示', + // showCancel: false, + // content: '您已退出登录', + // success: function (res) { + // if (res.confirm) { + // uni.sendNativeEvent('goTabbarPage', { + // msg: 'home' + // }, ret => { + // console.log(ret); + // }) + // } else if (res.cancel) { + // console.log('用户点击取消'); + // } + // } + // }); + // } + // }, 1000) uni.onNativeEventReceive((event, data) => { console.log("event", event);