diff --git a/src/views/interface/ThemeList.vue b/src/views/interface/ThemeList.vue index 33fe5f44..12009e1b 100644 --- a/src/views/interface/ThemeList.vue +++ b/src/views/interface/ThemeList.vue @@ -8,7 +8,7 @@ theme.activated) + sortedThemes() { + const data = this.themes.slice(0) + return data.sort(function(a, b) { + return b.activated - a.activated + }) } }, created() { @@ -439,7 +442,7 @@ export default { onClose() { this.visible = false this.optionLoading = false - this.themeConfiguration = null + this.themeConfiguration = [] this.themeProperty = null }, handleChange(info) {