Use watch to change localDescription
This commit is contained in:
parent
08c9aa4bf3
commit
8c7f4ab481
2 changed files with 6 additions and 3 deletions
|
|
@ -129,6 +129,9 @@ const Attachment = {
|
|||
...mapGetters(['mergedConfig'])
|
||||
},
|
||||
watch: {
|
||||
'attachment.description' (newVal) {
|
||||
this.localDescription = newVal
|
||||
},
|
||||
localDescription (newVal) {
|
||||
this.onEdit(newVal)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue