mirror of https://github.com/halo-dev/halo-admin
feat: show loading message when update theme.
parent
2e98027d63
commit
0d6247d3fc
|
@ -299,7 +299,9 @@ export default {
|
|||
})
|
||||
},
|
||||
handleUpdateTheme(themeId) {
|
||||
const hide = this.$message.loading('更新中...', 0)
|
||||
themeApi.update(themeId).then(response => {
|
||||
hide()
|
||||
this.$message.success('更新成功!')
|
||||
this.loadThemes()
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue