admin-vben5/packages/@core/ui-kit/popup-ui
ming4762 afce9dc5c0
perf: improve destroyOnClose for VbenModal (#5935)
* perf: 优化Vben Modal destroyOnClose,解决destroyOnClose=false,Modal依旧会被销毁的问题

影响范围(重要):destroyOnClose默认为true,这会导致所有的modal都会默认渲染到body
radix-vue Dialog组件默认会销毁挂载的组件,所以即使destroyOnClose=false,Modal依旧会被销毁的问题
对于一些大表单重复渲染导致卡顿,ApiComponent也会频繁的加载数据

* fix: modal closing animation

---------

Co-authored-by: Netfan <netfan@foxmail.com>
2025-04-13 23:02:07 +08:00
..
src perf: improve destroyOnClose for VbenModal (#5935) 2025-04-13 23:02:07 +08:00
build.config.ts feat: add modal and drawer components and examples (#4229) 2024-08-25 23:40:52 +08:00
package.json fix: when opening the tool separately, there is no need to pass the toolbar-tools slot (#4841) 2024-11-09 14:07:41 +08:00
postcss.config.mjs feat: add modal and drawer components and examples (#4229) 2024-08-25 23:40:52 +08:00
tailwind.config.mjs feat: add modal and drawer components and examples (#4229) 2024-08-25 23:40:52 +08:00
tsconfig.json feat: add modal and drawer components and examples (#4229) 2024-08-25 23:40:52 +08:00