From d2b1fe47602d69679bd5804f66c33c581e324382 Mon Sep 17 00:00:00 2001 From: smallchill Date: Thu, 30 Mar 2023 15:47:35 +0800 Subject: [PATCH] :zap: fix loading --- src/page/login/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/page/login/index.vue b/src/page/login/index.vue index 3645a98..5a64c15 100755 --- a/src/page/login/index.vue +++ b/src/page/login/index.vue @@ -120,8 +120,8 @@ export default { if (topUrl.includes(redirectUrl) && !validatenull(this.socialForm.source) && !validatenull(this.socialForm.code) && !validatenull(this.socialForm.state)) { const loading = this.$loading({ lock: true, - text: '第三方系统登录中,请稍后。。。', - spinner: "el-icon-loading" + text: '第三方系统登录中,请稍后', + background: 'rgba(0, 0, 0, 0.7)' }); this.$store.dispatch("LoginBySocial", this.socialForm).then(() => { window.location.href = topUrl.split(redirectUrl)[0]; @@ -133,8 +133,8 @@ export default { } else if (!topUrl.includes(redirectUrl) && !validatenull(this.socialForm.code) && !validatenull(this.socialForm.state)) { const loading = this.$loading({ lock: true, - text: '单点系统登录中,请稍后。。。', - spinner: "el-icon-loading" + text: '单点系统登录中,请稍后', + background: 'rgba(0, 0, 0, 0.7)' }); this.$store.dispatch("LoginBySso", this.socialForm).then(() => { window.location.href = topUrl.split(ssoCode)[0];