hangb 7 лет назад
Родитель
Сommit
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