diff --git a/pages/auth.vue b/pages/auth.vue index 0e7a03c..2ab1117 100644 --- a/pages/auth.vue +++ b/pages/auth.vue @@ -25,9 +25,9 @@ export default { if (data.status !== 1) { this.$toasted.show('微信登录失败,请重试或换用其它登录方式。', { - position: 'top-center', - duration: 5000 + position: 'top-center' }) + this.$finishLoad() return } else { try { @@ -47,9 +47,9 @@ export default { if (data.status !== 1) { this.$toasted.show((state[0] === 'weibo' ? '微博' : 'QQ') + '登录失败,请重试或换用其它登录方式。', { - position: 'top-center', - duration: 5000 + position: 'top-center' }) + this.$finishLoad() return } else { try {