Adds a hydrate command on mounted too
This commit is contained in:
parent
7694e85454
commit
3b7f03388b
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
@ -73,6 +73,9 @@ export default {
|
||||
created () {
|
||||
this.hydrate(this.initial)
|
||||
},
|
||||
mounted () {
|
||||
this.hydrate(this.initial)
|
||||
},
|
||||
methods: {
|
||||
registerField (field, data) {
|
||||
this.$store.commit(`${this.m}setFieldMeta`, {form: this.name, field, data})
|
||||
|
Loading…
Reference in New Issue
Block a user