fix: 修复 searchable 在 sdk 中弹窗层被挡住问题 & 配置为 input-group 换行问题 Close: #8031 #8415 (#8439)

This commit is contained in:
liaoxuezhi 2023-10-24 14:12:52 +08:00 committed by GitHub
parent 0360250d2c
commit 4e130ac0b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,10 @@ export function HeadCellSearchDropDown({
]
};
} else if (searchable) {
if (searchable.body || searchable.tabs || searchable.fieldSet) {
if (
!searchable.type &&
(searchable.body || searchable.tabs || searchable.fieldSet)
) {
// todo 删除此处代码,这些都是不推荐的用法
schema = {
title: '',
@ -196,6 +199,7 @@ export function HeadCellSearchDropDown({
>
{
render('quick-search-form', formSchema, {
popOverContainer,
data: {
...data
},