fix: 修复 search组件的收起展开 和重置 Bug

renderFormItemWrap 中将 hidden的给过滤了, 所以 renderFormItem 中其实并没有对 hidden 的 FormItem 生效, 所以出现了Bug

具体element-plus  Issues参考 https://github.com/element-plus/element-plus/issues/15417
This commit is contained in:
ddup 2024-06-14 19:11:38 +08:00 committed by GitHub
parent 566a57aec8
commit 9a5c7bcb5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ export default defineComponent({
const { schema = [], isCol } = unref(getProps)
return schema
.filter((v) => !v.remove && !v.hidden)
.filter((v) => !v.remove)
.map((item) => {
// Divider
const isDivider = item.component === 'Divider'