diff --git a/src/views/interface/components/ThemeSetting.vue b/src/views/interface/components/ThemeSetting.vue index fa23f37b..61019373 100644 --- a/src/views/interface/components/ThemeSetting.vue +++ b/src/views/interface/components/ThemeSetting.vue @@ -317,7 +317,8 @@ export default { this.attachmentDrawerVisible = true }, handleSelectAttachment(data) { - this.themeSettings[this.selectedField] = encodeURI(data.path) + this.$set(this.themeSettings, this.selectedField, encodeURI(data.path)) + // this.themeSettings[this.selectedField] = encodeURI(data.path) this.attachmentDrawerVisible = false }, toggleViewMode() { diff --git a/src/views/system/OptionForm.vue b/src/views/system/OptionForm.vue index 79f7159c..1df412bb 100644 --- a/src/views/system/OptionForm.vue +++ b/src/views/system/OptionForm.vue @@ -1198,7 +1198,7 @@ export default { } }, handleSelectLogo(data) { - this.options.blog_logo = encodeURI(data.path) + this.$set(this.options, 'blog_logo', encodeURI(data.path)) this.logoDrawerVisible = false }, handleTestMailClick() {