Browse Source

feat: show loading message when update theme.

pull/59/head
ruibaby 5 years ago
parent
commit
0d6247d3fc
  1. 2
      src/views/interface/ThemeList.vue

2
src/views/interface/ThemeList.vue

@ -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