Compare commits
2 Commits
1255ce8aa5
...
9e0a5d2512
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e0a5d2512 | ||
|
|
589092ec62 |
42
App.vue
42
App.vue
@ -79,27 +79,27 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
setTimeout(function(){
|
// setTimeout(function(){
|
||||||
console.log("执行 setTimeout")
|
// console.log("执行 setTimeout")
|
||||||
if(!checkTokenCallBackFlag){
|
// if(!checkTokenCallBackFlag){
|
||||||
uni.showModal({
|
// uni.showModal({
|
||||||
title: '提示',
|
// title: '提示',
|
||||||
showCancel: false,
|
// showCancel: false,
|
||||||
content: '您已退出登录',
|
// content: '您已退出登录',
|
||||||
success: function (res) {
|
// success: function (res) {
|
||||||
if (res.confirm) {
|
// if (res.confirm) {
|
||||||
uni.sendNativeEvent('goTabbarPage', {
|
// uni.sendNativeEvent('goTabbarPage', {
|
||||||
msg: 'home'
|
// msg: 'home'
|
||||||
}, ret => {
|
// }, ret => {
|
||||||
console.log(ret);
|
// console.log(ret);
|
||||||
})
|
// })
|
||||||
} else if (res.cancel) {
|
// } else if (res.cancel) {
|
||||||
console.log('用户点击取消');
|
// console.log('用户点击取消');
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
}
|
// }
|
||||||
}, 1000)
|
// }, 1000)
|
||||||
|
|
||||||
uni.onNativeEventReceive((event, data) => {
|
uni.onNativeEventReceive((event, data) => {
|
||||||
console.log("event", event);
|
console.log("event", event);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user