mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-04-10 08:03:15 +08:00
fix: onCancel -> onClosed
This commit is contained in:
@@ -67,7 +67,7 @@ const { onBeforeClose, markInitialized, resetInitialized } = useBeforeCloseDiff(
|
|||||||
|
|
||||||
const [BasicDrawer, drawerApi] = useVbenDrawer({
|
const [BasicDrawer, drawerApi] = useVbenDrawer({
|
||||||
onBeforeClose,
|
onBeforeClose,
|
||||||
onCancel: handleClosed,
|
onClosed: handleClosed,
|
||||||
onConfirm: handleConfirm,
|
onConfirm: handleConfirm,
|
||||||
async onOpenChange(isOpen) {
|
async onOpenChange(isOpen) {
|
||||||
if (!isOpen) {
|
if (!isOpen) {
|
||||||
|
|||||||
Reference in New Issue
Block a user