master
271556543@qq.com 3 years ago
parent 4777fcdea8
commit d20e5ef139

@ -67,7 +67,7 @@ export function generaMenu(routes, data) {
} else {
const menu = {
path: item.url === '#' ? item.id + '_key' : item.url,
component: item.url === '#' ? Layout : loadView(item.url),
component: item.path === '#' ? Layout : loadView(item.path),
// hidden: true,
children: [],
name: 'menu_' + item.id,

Loading…
Cancel
Save