1.优化登录

main
董哲奇 1 month ago
parent 03dd8ce1df
commit 9e009016f9

@ -23,9 +23,6 @@
ticket=params.get('ticket');
}
if (!ticket){
this.closeWindow()
}
// alert(ticket)
if(ticket){
uni.showLoading({
@ -124,6 +121,7 @@
// 使iOS...
} else {
console.log('Not in App environment.'); // App
console.log('123');
setTimeout(function() {
uni.redirectTo({
url: '/pages/login/index'

@ -209,7 +209,7 @@
uni.redirectTo({
url: '/pages/login/index'
});
}, 2000);
}, 1000);
}
return false;
}

@ -176,10 +176,10 @@
// //#endif
this.getdept();
console.log('login success');
this.$refs.uToast.show({
title: '登录成功',
type: 'success',
isTab: true,
duration: 1000,
url: '/pages/index/index'
});

Loading…
Cancel
Save