Merge branch 'dev' of github.com:halo-dev/halo-admin into dev

pull/51/head
ruibaby 2019-10-16 10:22:29 +08:00
commit 2ecba6ce74
2 changed files with 3 additions and 2 deletions

View File

@ -317,7 +317,8 @@ export default {
this.attachmentDrawerVisible = true this.attachmentDrawerVisible = true
}, },
handleSelectAttachment(data) { 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 this.attachmentDrawerVisible = false
}, },
toggleViewMode() { toggleViewMode() {

View File

@ -1198,7 +1198,7 @@ export default {
} }
}, },
handleSelectLogo(data) { handleSelectLogo(data) {
this.options.blog_logo = encodeURI(data.path) this.$set(this.options, 'blog_logo', encodeURI(data.path))
this.logoDrawerVisible = false this.logoDrawerVisible = false
}, },
handleTestMailClick() { handleTestMailClick() {