chore: update dependency version for improved stability and compatibility (#6023)

* chore: update dependency version for improved stability and compatibility

* fix: optimize clearPoints function in useCaptchaPoints hook to improve performance

* fix: make several props optional in various components for better flexibility
This commit is contained in:
Vben
2025-04-27 22:06:49 +08:00
committed by GitHub
parent dd2b1ed580
commit 76de450c71
29 changed files with 1988 additions and 2360 deletions

View File

@@ -24,7 +24,7 @@ defineOptions({
});
const props = withDefaults(
defineProps<{ enableShortcutKey?: boolean; menus: MenuRecordRaw[] }>(),
defineProps<{ enableShortcutKey?: boolean; menus?: MenuRecordRaw[] }>(),
{
enableShortcutKey: true,
menus: () => [],