jufubao-base 1.0.138-beta1 → 1.0.138-beta2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -281,6 +281,8 @@ export default {
|
|
|
281
281
|
logoTextColor: "",
|
|
282
282
|
isPreview:'N', //是否启用体验码模式
|
|
283
283
|
isDebugPreview: false,
|
|
284
|
+
|
|
285
|
+
isFastLoginStatus: false,
|
|
284
286
|
};
|
|
285
287
|
},
|
|
286
288
|
computed: {
|
|
@@ -603,8 +605,9 @@ export default {
|
|
|
603
605
|
},
|
|
604
606
|
//h5授权登录
|
|
605
607
|
doLoginAuth() {
|
|
608
|
+
if(this.isFastLoginStatus) return;
|
|
609
|
+
this.isFastLoginStatus = true;
|
|
606
610
|
const { provider_id, login_platform_code, is_redirect, redirect_url } = this.quickLogin;
|
|
607
|
-
//授权地址
|
|
608
611
|
location.href = redirect_url;
|
|
609
612
|
},
|
|
610
613
|
|