update Select
update Select
This commit is contained in:
parent
8df36a0a03
commit
3ad47566a4
3 changed files with 60 additions and 2 deletions
|
@ -310,8 +310,13 @@
|
|||
value: value,
|
||||
label: label
|
||||
});
|
||||
this.$dispatch('on-form-change', {
|
||||
value: value,
|
||||
label: label
|
||||
});
|
||||
} else {
|
||||
this.$emit('on-change', value);
|
||||
this.$dispatch('on-form-change', value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -340,8 +345,10 @@
|
|||
if (!init) {
|
||||
if (this.labelInValue) {
|
||||
this.$emit('on-change', hybridValue);
|
||||
this.$dispatch('on-form-change', hybridValue);
|
||||
} else {
|
||||
this.$emit('on-change', value);
|
||||
this.$dispatch('on-form-change', value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue