mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
docs(docs) 穿梭框的自定义部分有误 (#15215)
穿梭框的change事件的回调函数中value的类型是个数组(number[] | string[])
This commit is contained in:
parent
dd81a39772
commit
cdd7b505b3
@ -92,7 +92,7 @@ const renderFunc = (
|
||||
return h('span', null, option.label)
|
||||
}
|
||||
const handleChange = (
|
||||
value: number | string,
|
||||
value: number[] | string[],
|
||||
direction: 'left' | 'right',
|
||||
movedKeys: string[] | number[]
|
||||
) => {
|
||||
|
Loading…
Reference in New Issue
Block a user