Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mingPayPc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
fengzhaoyu
mingPayPc
Commits
79ccc182
Commit
79ccc182
authored
Jul 05, 2019
by
liang ce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
2aff8661
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
+2
-1
main.js
src/main.js
+1
-0
router.js
src/router.js
+1
-1
No files found.
src/main.js
View file @
79ccc182
...
...
@@ -51,6 +51,7 @@ router.beforeEach(function (to, from, next) {
if
(
res
===
'noPermission'
)
{
next
({
name
:
'noPermission'
})
}
else
{
console
.
log
(
to
,
from
,
next
,
'问题踢踢踢踢踢踢'
)
next
()
}
}).
catch
((
err
)
=>
{
...
...
src/router.js
View file @
79ccc182
...
...
@@ -100,7 +100,7 @@ export default new Router({
path
:
'/*'
,
redirect
:
'/dashboard'
,
beforeEnter
(
to
,
from
,
next
)
{
console
.
log
(
to
)
console
.
log
(
to
,
from
,
next
)
}
}
]
...
...
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