Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
najiu-admin-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
najiu-frontend
najiu-admin-template
Commits
41a4b827
Commit
41a4b827
authored
Dec 01, 2020
by
vben
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: fix mock data error #109
parent
6f8d753a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
menu.ts
mock/sys/menu.ts
+6
-0
No files found.
mock/sys/menu.ts
View file @
41a4b827
...
@@ -32,6 +32,7 @@ const frontRoute = {
...
@@ -32,6 +32,7 @@ const frontRoute = {
children
:
[
children
:
[
{
{
path
:
'
page
'
,
path
:
'
page
'
,
name
:
'
FrontPageAuth
'
,
component
:
'
/demo/permission/front/index
'
,
component
:
'
/demo/permission/front/index
'
,
meta
:
{
meta
:
{
title
:
'
页面权限
'
,
title
:
'
页面权限
'
,
...
@@ -39,6 +40,7 @@ const frontRoute = {
...
@@ -39,6 +40,7 @@ const frontRoute = {
},
},
{
{
path
:
'
btn
'
,
path
:
'
btn
'
,
name
:
'
FrontBtnAuth
'
,
component
:
'
/demo/permission/front/Btn
'
,
component
:
'
/demo/permission/front/Btn
'
,
meta
:
{
meta
:
{
title
:
'
按钮权限
'
,
title
:
'
按钮权限
'
,
...
@@ -46,6 +48,7 @@ const frontRoute = {
...
@@ -46,6 +48,7 @@ const frontRoute = {
},
},
{
{
path
:
'
auth-pageA
'
,
path
:
'
auth-pageA
'
,
name
:
'
FrontAuthPageA
'
,
component
:
'
/demo/permission/front/AuthPageA
'
,
component
:
'
/demo/permission/front/AuthPageA
'
,
meta
:
{
meta
:
{
title
:
'
权限测试页A
'
,
title
:
'
权限测试页A
'
,
...
@@ -53,6 +56,7 @@ const frontRoute = {
...
@@ -53,6 +56,7 @@ const frontRoute = {
},
},
{
{
path
:
'
auth-pageB
'
,
path
:
'
auth-pageB
'
,
name
:
'
FrontAuthPageB
'
,
component
:
'
/demo/permission/front/AuthPageB
'
,
component
:
'
/demo/permission/front/AuthPageB
'
,
meta
:
{
meta
:
{
title
:
'
权限测试页B
'
,
title
:
'
权限测试页B
'
,
...
@@ -69,6 +73,7 @@ const backRoute = {
...
@@ -69,6 +73,7 @@ const backRoute = {
children
:
[
children
:
[
{
{
path
:
'
page
'
,
path
:
'
page
'
,
name
:
'
BackAuthPage
'
,
component
:
'
/demo/permission/back/index
'
,
component
:
'
/demo/permission/back/index
'
,
meta
:
{
meta
:
{
title
:
'
页面权限
'
,
title
:
'
页面权限
'
,
...
@@ -76,6 +81,7 @@ const backRoute = {
...
@@ -76,6 +81,7 @@ const backRoute = {
},
},
{
{
path
:
'
btn
'
,
path
:
'
btn
'
,
name
:
'
BackAuthBtn
'
,
component
:
'
/demo/permission/back/Btn
'
,
component
:
'
/demo/permission/back/Btn
'
,
meta
:
{
meta
:
{
title
:
'
按钮权限
'
,
title
:
'
按钮权限
'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment