Browse Source

修改手机登录逻辑

hangb 7 năm trước cách đây
mục cha
commit
c16e4a1821
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  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