From ea6d9e98c75074b358be46af25d33cb77fb368cc Mon Sep 17 00:00:00 2001 From: lesion Date: Fri, 29 Oct 2021 15:24:26 +0200 Subject: [PATCH] minor --- pages/setup/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/setup/index.vue b/pages/setup/index.vue index 60f261a5..fa936a5e 100644 --- a/pages/setup/index.vue +++ b/pages/setup/index.vue @@ -56,7 +56,7 @@ export default { this.step = this.step + 1 this.$refs.completed.start(user) } catch (e) { - this.$root.$message(e.response.data, { color: 'error' }) + this.$root.$message(e.response ? e.response.data : e, { color: 'error' }) } } }