Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
ybf
Project
Project
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
xulili
ybf
Commits
e30182e0
Commit
e30182e0
authored
Jan 15, 2020
by
xd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
取消注释
parent
79fbf9e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
index.js
ybf_admin/src/router/index.js
+2
-2
No files found.
ybf_admin/src/router/index.js
View file @
e30182e0
...
...
@@ -32,7 +32,7 @@ const router = new VueRouter({
* 路由拦截
* 权限验证
*/
/*
router.beforeEach(async (to, from, next) => {
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
// 确认已经加载多标签页数据 https://github.com/d2-projects/d2-admin/issues/201
await
store
.
dispatch
(
'd2admin/page/isLoaded'
)
// 确认已经加载组件尺寸设置 https://github.com/d2-projects/d2-admin/issues/198
...
...
@@ -64,7 +64,7 @@ const router = new VueRouter({
// 不需要身份校验 直接通过
next
()
}
})
*/
})
router
.
afterEach
(
to
=>
{
// 进度条
...
...
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