mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
minor
This commit is contained in:
parent
7747562425
commit
15f4425c4b
1 changed files with 7 additions and 3 deletions
|
@ -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' })
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue