Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
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
front-end-dev
techbook
Commits
20361e26
Commit
20361e26
authored
May 11, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
路由
parent
8e6ab1ec
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
router.js
src/router.js
+6
-1
No files found.
src/router.js
View file @
20361e26
...
...
@@ -94,7 +94,7 @@ const minePublished = () => import('views/mobile/published');//已发布
const
subjectStage
=
()
=>
import
(
"views/mobile/proFeedback/stagerouter"
);
//某个阶段
const
articleList
=
()
=>
import
(
"views/mobile/article/articlelist"
);
//文章列表
const
articleDetail
=
()
=>
import
(
"views/mobile/article/articledetail"
);
//文章详情
const
articleColletcion
=
()
=>
import
(
"views/mobile/collection/articleColl"
);
//我的收藏(文章)
Vue
.
use
(
Router
)
const
originalReplace
=
Router
.
prototype
.
replace
;
Router
.
prototype
.
replace
=
function
replace
(
location
)
{
...
...
@@ -1169,6 +1169,11 @@ export default new Router({
]
},
{
path
:
"/collection"
,
name
:
"articleColletcion"
,
component
:
articleColletcion
}
]
}
...
...
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