|
@@ -86,6 +86,11 @@ export default {
|
|
],
|
|
],
|
|
value: '',
|
|
value: '',
|
|
}),
|
|
}),
|
|
|
|
+ watch: {
|
|
|
|
+ content: function () {
|
|
|
|
+ this.update(this.content);
|
|
|
|
+ }
|
|
|
|
+ },
|
|
beforeMount() {
|
|
beforeMount() {
|
|
// Initialize per-field value storage
|
|
// Initialize per-field value storage
|
|
this.fields.forEach((field) => {
|
|
this.fields.forEach((field) => {
|