🔱: [client] sync upgrade with 2 commits [trident-sync]

chore:
pull/91/head
GitHub Actions Bot 2024-07-29 19:24:00 +00:00
parent b2971cf5fb
commit f4a11ed328
1 changed files with 3 additions and 3 deletions

View File

@ -232,11 +232,11 @@ function useCrudOptions() {
* 此方式可以层叠打开多个对话框
*/
function useFormProvider() {
const { openDialog } = useFormWrapper();
const { openCrudFormDialog } = useFormWrapper();
async function openFormWrapperNoTag() {
const opts = createFormOptionsFromCrudOptions();
const wrapperRef = await openDialog(opts);
const { crudOptions } = createCrudOptions({} as any);
const wrapperRef = await openCrudFormDialog({ crudOptions });
utils.logger.log("对话框已打开", wrapperRef);
}
return {