浏览代码

修改手机登录逻辑

hangb 7 年之前
父节点
当前提交
c16e4a1821
共有 1 个文件被更改,包括 5 次插入1 次删除
  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