minor
This commit is contained in:
@@ -51,9 +51,13 @@ export default {
|
|||||||
this.step = this.step + 1
|
this.step = this.step + 1
|
||||||
},
|
},
|
||||||
async configCompleted () {
|
async configCompleted () {
|
||||||
const user = await this.$axios.$post('/setup/restart')
|
try {
|
||||||
this.step = this.step + 1
|
const user = await this.$axios.$post('/setup/restart')
|
||||||
this.$refs.completed.start(user)
|
this.step = this.step + 1
|
||||||
|
this.$refs.completed.start(user)
|
||||||
|
} catch (e) {
|
||||||
|
this.$root.$message(e.response.data, { color: 'error' })
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user