@@ -138,7 +138,6 @@ Component(
if (id === 1) {
const { userInfo } = this.data; // 判断用户是否已经登陆
-
if (userInfo.isLogin) {
isAuthSuccess = true;
} else {
@@ -147,6 +146,10 @@ Component(
});
}
+ isAuthSuccess = await doLogin.call(this, {
+ scopes: "auth_user",
+ });
+
if (isAuthSuccess) {
const {
phone,