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