Explorar o código

修改手机登录逻辑

hangb %!s(int64=8) %!d(string=hai) anos
pai
achega
c16e4a1821
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  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