fix(select): memorized options on created when remote is true

This commit is contained in:
07akioni 2019-08-21 19:20:52 +08:00
parent 49ff956af2
commit 67def92f3d

View File

@ -300,6 +300,13 @@ export default {
})
}
},
mounted () {
if (this.remote) {
for (const item of this.selectedItems) {
this.memorizedValueItemMap.set(item.value, item)
}
}
},
methods: {
/**
* @param {string} value