We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0103264 commit 30d8ebaCopy full SHA for 30d8eba
src/vfjs-global-mixin/methods/vfjs-state/setters.js
@@ -14,8 +14,10 @@ const vfjsStateSetters = {
14
setVfjsState(state) {
15
if (!isEqual(state, this.getVfjsState())) {
16
this.vfjsState = Object.assign({}, this.getVfjsState(), state);
17
- this.vfjsBus.$emit(VFJS_EVENT_STATE_UPDATED, () => {
18
- this.setVfjsFields();
+ this.vfjsBus.$emit(VFJS_EVENT_STATE_UPDATED, {
+ cb: () => {
19
+ this.setVfjsFields();
20
+ },
21
});
22
}
23
},
0 commit comments