Skip to content

Commit 419ee2a

Browse files
张柯雨张柯雨
authored andcommitted
[feature] add display to real routes
1 parent 3e801b6 commit 419ee2a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/generate/routesGenerate.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ function routeCircle(routerMap, prePath, role){
3131
routes.push({
3232
path: path,
3333
component: route.component,
34+
display: route.display,
3435
})
3536
}
3637
})

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-privilege-menu",
33
"description": "Automatically generate routes and menu by given privilege",
4-
"version": "1.0.10",
4+
"version": "1.0.11",
55
"author": "zhangkeyu",
66
"license": "MIT",
77
"private": false,

0 commit comments

Comments
 (0)