chore(deps): 升级 oxlint

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

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 });
};
}