mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-15 04:42:23 +08:00
fix(select): memorized options on created when remote is true
This commit is contained in:
parent
49ff956af2
commit
67def92f3d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user