Add select model assign
This commit is contained in:
parent
815a615ddf
commit
449a6c034f
|
|
@ -543,6 +543,10 @@ export default {
|
|||
mounted() {
|
||||
this.real_model = this.value;
|
||||
|
||||
if (this.model.length) {
|
||||
this.real_model = this.model;
|
||||
}
|
||||
|
||||
if (this.multiple && !this.real_model.length) {
|
||||
this.real_model = [];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue