diff --git a/packages/form-render/src/derivative/SearchForm/index.tsx b/packages/form-render/src/derivative/SearchForm/index.tsx index fe5d7ba93..ffcbaf95f 100644 --- a/packages/form-render/src/derivative/SearchForm/index.tsx +++ b/packages/form-render/src/derivative/SearchForm/index.tsx @@ -107,6 +107,12 @@ const SearchForm: (props: SearchProps { + if (isExpand) { + initMount(); + } + }, [isExpand]); + useMount(() => { if (!collapsed) { return;