fix: When the label of the form tab is empty, the content is not supported (#3950)

This commit is contained in:
shaohuzhang1 2025-08-27 19:06:15 +08:00 committed by GitHub
parent f12ba4eeeb
commit ce8f907932
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@
modelValue == item[valueField] ? 'active' : '',
]"
@click="inputDisabled ? () => {} : selected(item[valueField])"
:innerHTML="item[textField]"
:innerHTML="item[textField] ? item[textField] : '\u200D'"
>
</el-card>
</el-col>