fix: tag search display error

This commit is contained in:
feng
2024-12-17 10:30:34 +08:00
committed by feng626
parent 651888faab
commit c15ba5b078

View File

@@ -202,9 +202,10 @@ export default {
label: current.label, label: current.label,
value: valueDecode value: valueDecode
} }
if (curChildren.length > 0) { if (curChildren.length > 0) {
for (const item of curChildren) { for (const item of curChildren) {
if (valueDecode === item.value) { if (valueDecode === String(item.value)) {
searchFieldOption.valueLabel = item.label searchFieldOption.valueLabel = item.label
break break
} }