注销逻辑调整
This commit is contained in:
parent
c3627c8629
commit
8bfa454681
|
@ -203,6 +203,8 @@ export default {
|
|||
content: "确定注销吗?",
|
||||
showCancel: true,
|
||||
success: function (res) {
|
||||
if(!res.confirm){return}
|
||||
console.log(res,'res--')
|
||||
// 确定退出
|
||||
let u = navigator.userAgent;
|
||||
let isAndroid =
|
||||
|
|
|
@ -189,11 +189,13 @@ export default {
|
|||
|
||||
toPage(path,item) {
|
||||
if(item.title === '注销'){
|
||||
|
||||
uni.showModal({
|
||||
title: "提示",
|
||||
content: "确定注销吗?",
|
||||
showCancel: true,
|
||||
success: function (res) {
|
||||
if(res.confirm){
|
||||
// 确定退出
|
||||
let u = navigator.userAgent;
|
||||
let isAndroid =
|
||||
|
@ -221,12 +223,12 @@ export default {
|
|||
console.log(e, "e-----判断安卓苹果类型出错");
|
||||
}
|
||||
return
|
||||
}
|
||||
},
|
||||
});
|
||||
return;
|
||||
}
|
||||
if (!path) return;
|
||||
|
||||
useRouter(path, {}, "navigateTo");
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue