style: access list

This commit is contained in:
jialin
2026-02-03 18:21:08 +08:00
parent 35918d2a00
commit d86d061f97
4 changed files with 21 additions and 20 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ const Basic = () => {
name="categories"
normalize={(value) => (value ? [value] : [])}
getValueProps={(value) => ({
value: Array.isArray(value) ? value[0] : value
value: Array.isArray(value) ? value[0] || null : value
})}
>
<SealSelect