Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
feat: show loading message when update theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
ruibaby committed Dec 18, 2019
1 parent 2e98027 commit 0d6247d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/views/interface/ThemeList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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()
})
Expand Down

0 comments on commit 0d6247d

Please sign in to comment.