Commit 20361e26 authored by zhangyanni's avatar zhangyanni

路由

parent 8e6ab1ec
...@@ -94,7 +94,7 @@ const minePublished = () => import('views/mobile/published');//已发布 ...@@ -94,7 +94,7 @@ const minePublished = () => import('views/mobile/published');//已发布
const subjectStage =()=> import("views/mobile/proFeedback/stagerouter");//某个阶段 const subjectStage =()=> import("views/mobile/proFeedback/stagerouter");//某个阶段
const articleList = ()=> import("views/mobile/article/articlelist");//文章列表 const articleList = ()=> import("views/mobile/article/articlelist");//文章列表
const articleDetail = ()=> import("views/mobile/article/articledetail");//文章详情 const articleDetail = ()=> import("views/mobile/article/articledetail");//文章详情
const articleColletcion = ()=> import("views/mobile/collection/articleColl");//我的收藏(文章)
Vue.use(Router) Vue.use(Router)
const originalReplace = Router.prototype.replace; const originalReplace = Router.prototype.replace;
Router.prototype.replace = function replace(location) { Router.prototype.replace = function replace(location) {
...@@ -1169,6 +1169,11 @@ export default new Router({ ...@@ -1169,6 +1169,11 @@ export default new Router({
] ]
},
{
path:"/collection",
name:"articleColletcion",
component:articleColletcion
} }
] ]
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment