Verified Commit 15f4425c authored by les's avatar les
Browse files

minor

parent 77475624
......@@ -51,9 +51,13 @@ export default {
this.step = this.step + 1
},
async configCompleted () {
const user = await this.$axios.$post('/setup/restart')
this.step = this.step + 1
this.$refs.completed.start(user)
try {
const user = await this.$axios.$post('/setup/restart')
this.step = this.step + 1
this.$refs.completed.start(user)
} catch (e) {
this.$root.$message(e.response.data, { color: 'error' })
}
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment