Browse Source

修改手机登录逻辑

hangb 7 years ago
parent
commit
c16e4a1821
1 changed files with 5 additions and 1 deletions
  1. 5 1
      components/mobile/loginMobile.vue

+ 5 - 1
components/mobile/loginMobile.vue

@@ -161,8 +161,12 @@
                   timeout: 5000
                 }, (err, data) => {
                   if (err) {
-                    this.$indicator.open('登录超时,请重试')
                     this.$indicator.close()
+                    this.$toast({
+                      message: '登录超时,请重试',
+                      iconClass: 'el-icon-error'
+                    })
+                    this.login.spaceUU = ''
                     throw err
                   } else {
                     const crossAfter = this.crossAfter