feat: show loading message when update theme.

pull/59/head
ruibaby 5 years ago
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…
Cancel
Save