docs(docs) 穿梭框的自定义部分有误 (#15215)

穿梭框的change事件的回调函数中value的类型是个数组(number[] | string[])
This commit is contained in:
Henry Ge 2023-12-22 17:16:34 +08:00 committed by GitHub
parent dd81a39772
commit cdd7b505b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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[]
) => {