chore(Picker): deprecatation warning of valueKey (#8994)

This commit is contained in:
neverland
2021-07-08 10:16:05 +08:00
committed by GitHub
parent 44f4ba89e1
commit 76c0b08bde
4 changed files with 70 additions and 42 deletions
+1 -1
View File
@@ -327,7 +327,7 @@ export default defineComponent({
ref={pickerRef}
class={bem()}
columns={columns}
valueKey="name"
columnsFieldNames={{ text: 'name' }}
onChange={onChange}
onConfirm={onConfirm}
{...pick(props, INHERIT_PROPS)}