登录逻辑+注册有礼
This commit is contained in:
@@ -92,7 +92,11 @@ function getCode() {
|
||||
}
|
||||
|
||||
function wechatLogin() {
|
||||
userStore.authLogin();
|
||||
uni.showLoading();
|
||||
userStore.authLogin().then(() => {
|
||||
uni.hideLoading();
|
||||
uni.reLaunch({ url: '/pages/home/index' });
|
||||
});
|
||||
}
|
||||
|
||||
function submit() {
|
||||
|
Reference in New Issue
Block a user