vue-treeselect icon indicating copy to clipboard operation
vue-treeselect copied to clipboard

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

Open Envov opened this issue 3 years ago • 0 comments

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},其他的属性丢失了

Envov avatar Jan 23 '22 11:01 Envov