feat:CN-1522 插件管理页开发
This commit is contained in:
@@ -196,7 +196,7 @@ export function handleRoutes (menus, routes) {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// administration的路由使用了嵌套,其他的是平铺
|
// administration的路由使用了嵌套,其他的是平铺
|
||||||
if (menu.pid === 0 && menu.code === 'administration') {
|
if (menu.pid === 0 && (menu.code === 'administration' || menu.code === 'system')) {
|
||||||
const path = menu.route.replace('redirect:', '')
|
const path = menu.route.replace('redirect:', '')
|
||||||
if (menu.children && menu.children.length > 0) {
|
if (menu.children && menu.children.length > 0) {
|
||||||
const route = {
|
const route = {
|
||||||
|
|||||||
Reference in New Issue
Block a user