Browse Source

fix: route component path 错误

main
刘凯 1 year ago
parent
commit
0025987fb2
  1. 2
      src/store/modules/user.ts

2
src/store/modules/user.ts

@ -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,

Loading…
Cancel
Save