admin-vben5/packages/utils/src/helpers
Jin Mao 6b1aab9c67
fix: handle undefined children in generate-menus (#6117)
When children is undefined, use empty array as fallback to prevent potential runtime errors. This matches the behavior when hideChildrenInMenu is true.
2025-05-06 14:29:50 +08:00
..
__tests__ feat: support smooth auto-scroll to active menu item (#6102) 2025-05-03 18:05:26 +08:00
find-menu-by-path.ts feat: header mixed layout (#5263) 2024-12-30 14:01:17 +08:00
generate-menus.ts fix: handle undefined children in generate-menus (#6117) 2025-05-06 14:29:50 +08:00
generate-routes-backend.ts feat: use the not-found component instead of the invalid route component in the backend mode (#5871) 2025-04-04 15:21:09 +08:00
generate-routes-frontend.ts feat: add VbenForm component (#4352) 2024-09-10 21:48:51 +08:00
get-popup-container.ts fix: getPopupContainer will return closet form first (#5612) 2025-02-25 22:07:56 +08:00
index.ts fix: improve the display of modal and drawer on mobile (#4237) 2024-08-26 20:54:20 +08:00
merge-route-modules.ts refactor(project): re-adjust the overall folder 2024-07-23 00:03:59 +08:00
reset-routes.ts refactor: Separate store 2024-07-30 21:10:28 +08:00
unmount-global-loading.ts perf: optimize for some details and comments (#4030) 2024-08-04 05:42:59 +08:00