Skip to content

Commit 939f16e

Browse files
committed
feat: enable afterClose callback
1 parent c599bbf commit 939f16e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@
9292
"path": "cz-conventional-changelog"
9393
}
9494
}
95-
}
95+
}

src/components/dialog/confirm.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default function confirm(config: IModalFuncProps) {
6161
currentConfig = {
6262
...currentConfig,
6363
visible: false,
64-
// afterClose: destroy.bind(this, ...args),
64+
afterClose: destroy.bind(this, ...args),
6565
};
6666
render(currentConfig);
6767
}

0 commit comments

Comments
 (0)