diff --git a/nl-ui/nl-ui-admin-vben/yudao-ui-admin-vben/apps/web-antdv-next/src/views/lms/daily-plan/management/index.vue b/nl-ui/nl-ui-admin-vben/yudao-ui-admin-vben/apps/web-antdv-next/src/views/lms/daily-plan/management/index.vue index 3f2c078a..ac33cd58 100644 --- a/nl-ui/nl-ui-admin-vben/yudao-ui-admin-vben/apps/web-antdv-next/src/views/lms/daily-plan/management/index.vue +++ b/nl-ui/nl-ui-admin-vben/yudao-ui-admin-vben/apps/web-antdv-next/src/views/lms/daily-plan/management/index.vue @@ -16,7 +16,7 @@ import StartOrder from './modules/start-order.vue'; const SOURCE_MANUAL = 2; const ORDER_NOT_STARTED = 0; -const [FormDrawer, formDrawerApi] = useVbenDrawer({ +const [FormModal, formModalApi] = useVbenModal({ connectedComponent: Form, destroyOnClose: true, }); @@ -38,11 +38,11 @@ function handleRefresh() { } function handleCreate() { - formDrawerApi.setData({ isUpdate: false }).open(); + formModalApi.setData({ isUpdate: false }).open(); } function handleEdit(row: LmsDailyPlanApi.DailyPlan) { - formDrawerApi.setData({ isUpdate: true, row }).open(); + formModalApi.setData({ isUpdate: true, row }).open(); } function handleDetail(row: LmsDailyPlanApi.DailyPlan) { @@ -88,7 +88,7 @@ const [Grid, gridApi] = useVbenVxeGrid({