From 217942dfd0e4daa0f696976b751a5b1cf50bb580 Mon Sep 17 00:00:00 2001 From: alexm Date: Tue, 4 Feb 2025 14:25:04 +0100 Subject: [PATCH] fix: refs #8524 parking section router --- src/router/modules/shelving.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/router/modules/shelving.js b/src/router/modules/shelving.js index cd8a2bf15..55fb04278 100644 --- a/src/router/modules/shelving.js +++ b/src/router/modules/shelving.js @@ -44,6 +44,7 @@ const shelvingCard = { path: ':id', component: () => import('pages/Shelving/Card/ShelvingCard.vue'), redirect: { name: 'ShelvingSummary' }, + meta: { menu: ['ShelvingBasicData', 'ShelvingLog'] }, children: [ { name: 'ShelvingSummary', @@ -81,13 +82,10 @@ export default { title: 'shelving', icon: 'vn:inventory', moduleName: 'Shelving', + menu: ['ShelvingList', 'ParkingMain'], }, component: RouterView, redirect: { name: 'ShelvingMain' }, - menus: { - main: ['ShelvingList', 'ParkingMain'], - card: ['ShelvingBasicData', 'ShelvingLog'], - }, children: [ { path: '',