chore(deps): 升级 oxlint

This commit is contained in:
mini2024 committed 2025-03-09 23:30:29 +08:00
1 parent 35a658bfe4
commit 8733c3e42e
10 files changed
+72 -74

No files matched your search

+2 -2
View File
@@ -16,7 +16,7 @@ const menuItems = computed(() => {
routeName: route.name as string,
}));
flatArray = flatArray.map((item, index) => {
flatArray = flatArray.map((item /* index */) => {
let id = item.id;
if (flatArray.some((item) => item.id.startsWith(`${id}/`))) {
id = `${id}/index`;
@@ -60,7 +60,7 @@ const menuItems = computed(() => {
if (item.children.length) {
item.items = _convertChildrenToItems(item.children);
} else {
item.command = (event) => {
item.command = (/* event */) => {
router.push({ name: item.routeName as never });
};
}