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
},
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() {

View File

@ -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() {