From 589092ec6252bf96d45a4a569ff87080b2a488b2 Mon Sep 17 00:00:00 2001 From: haomingming Date: Mon, 17 Nov 2025 15:25:42 +0800 Subject: [PATCH] 333 --- App.vue | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) 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);