mirror of https://github.com/halo-dev/halo-admin
Fixed a bug that could not change the contents of the input box after selecting an attachment
parent
652398b14e
commit
c1361131a6
|
@ -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() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue