fix: select readPretty (#5807)

This commit is contained in:
Katherine 2024-12-06 12:04:38 +08:00 committed by GitHub
parent 6a7f2f2913
commit c86b1efdf7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,7 +51,7 @@ export const ReadPretty = observer(
}
const content =
field.value &&
field.value !== null &&
currentOptions.map((option, index) => (
<Tag key={index} color={option[fieldNames.color]} icon={option.icon}>
{option[fieldNames.label]}