fix loading

3.x
smallchill 3 years ago
parent 4bb4e514e5
commit d2b1fe4760
  1. 8
      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];

Loading…
Cancel
Save