feat(CURD): 支持搜索表单显隐控制

This commit is contained in:
cshaptx4869
2024-05-20 10:14:58 +08:00
parent dfc6ffac85
commit d21b5e9e2b
4 changed files with 37 additions and 13 deletions

View File

@@ -40,6 +40,10 @@ function usePage() {
const queryParams = searchRef.value?.getQueryParams();
contentRef.value?.exportPageData(queryParams);
}
// 搜索显隐
function handelSearchClick() {
searchRef.value?.toggleVisible();
}
return {
searchRef,
@@ -52,6 +56,7 @@ function usePage() {
handleEditClick,
handleSubmitClick,
handleExportClick,
handelSearchClick,
};
}