Merge pull request #1362 from mehmetcoban/master
Add select model assign
This commit is contained in:
commit
a01cd25fae
@ -543,6 +543,10 @@ export default {
|
|||||||
mounted() {
|
mounted() {
|
||||||
this.real_model = this.value;
|
this.real_model = this.value;
|
||||||
|
|
||||||
|
if (this.model.length) {
|
||||||
|
this.real_model = this.model;
|
||||||
|
}
|
||||||
|
|
||||||
if (this.multiple && !this.real_model.length) {
|
if (this.multiple && !this.real_model.length) {
|
||||||
this.real_model = [];
|
this.real_model = [];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user