|
@@ -140,7 +140,8 @@ function buildRootRoute(route) {
|
|
|
item.name = fullUrl || code
|
|
|
item.meta = {
|
|
|
title: moduleName,
|
|
|
- icon: icon
|
|
|
+ icon: icon,
|
|
|
+ moduleId
|
|
|
}
|
|
|
if (code == 'index') {
|
|
|
item.path = '/'
|
|
@@ -213,7 +214,8 @@ function buildRoute(route, p_url) {
|
|
|
item.name = fullUrl || code
|
|
|
item.meta = {
|
|
|
title: moduleName,
|
|
|
- icon: icon
|
|
|
+ icon: icon,
|
|
|
+ moduleId
|
|
|
}
|
|
|
if (route.children && type == 2) {
|
|
|
const roles = []
|
|
@@ -254,7 +256,8 @@ function buildThirdRoute(route, p_url) {
|
|
|
|
|
|
item.meta = {
|
|
|
title: moduleName,
|
|
|
- icon: icon
|
|
|
+ icon: icon,
|
|
|
+ moduleId
|
|
|
}
|
|
|
if (route.children && type == 2) {
|
|
|
const roles = []
|