|
|
|
@ -157,7 +157,7 @@ export const useUserStore = defineStore('app-user', {
|
|
|
|
|
id: __menu.id, |
|
|
|
|
parentId: __menu.parentId, |
|
|
|
|
name: __menu.name, |
|
|
|
|
component: `${__menu.path}.vue`, |
|
|
|
|
component: `${__menu.path}${__menu.path.endsWith('index') ? '' : '/index'}.vue`, |
|
|
|
|
componentName, |
|
|
|
|
path: __menu.path, |
|
|
|
|
icon: __menu.source, |
|
|
|
|