退出登录,首页返回修改
This commit is contained in:
@@ -43,9 +43,10 @@ try {
|
||||
|
||||
// 返回按钮功能
|
||||
function back() {
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
});
|
||||
// uni.navigateBack({
|
||||
// delta: 1
|
||||
// });
|
||||
window.location.href = 'https://www.xjksly.cn/mechine-single-vue/';
|
||||
}
|
||||
|
||||
onLoad((options) => {
|
||||
|
||||
@@ -192,7 +192,8 @@ function close() {
|
||||
|
||||
function confirm() {
|
||||
useUserStore().logOut();
|
||||
window.location.href = 'https://www.xjksly.cn/mechine-single-vue/';
|
||||
// alert('退出登录成功');
|
||||
// window.location.reload();
|
||||
}
|
||||
|
||||
const isAbove90 = (percent) => parseFloat(percent) < 90;
|
||||
|
||||
Reference in New Issue
Block a user