riophae / vue-treeselect

A multi-select component with nested options support for Vue.js
https://vue-treeselect.js.org/
MIT License
2.91k stars 509 forks source link

async=true时,normalizer 的形参只包含id #491

Open Envov opened 2 years ago

Envov commented 2 years ago
const normalizer=node=>node.label||node.id||'unknow'
const async=true
const multiple=true
const closeOnSelect=true
const clearOnSelect=true
const options=[{
id:1,
label:'success'
}]

初次进入时,传入如上参数,normalizer的参数为{id:1},其他的属性丢失了