chore(deps): 升级 oxlint
This commit is contained in:
@ -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 });
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user