From fc0c102554f509989dd74b199f298a67f266c3c8 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Fri, 25 Feb 2022 12:11:27 +0800 Subject: [PATCH] 虫洞添加,统计代码添加,样式局部调整 --- src/config/router.config.js | 14 +++++++++++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/config/router.config.js b/src/config/router.config.js index 4c358b9..cbeb488 100644 --- a/src/config/router.config.js +++ b/src/config/router.config.js @@ -9,6 +9,7 @@ import login from '../components/swichLabel/main5-show.vue' import box1 from '../components/mini/box1-info.vue' +import comment from '../components/mini/box12-comment.vue' import tagTime from '../components/mini/tagTime.vue' import tagInfo from '../components/mini/tagInfo.vue' import boxFriend from '../components/mini/box-friend.vue' @@ -29,6 +30,7 @@ component: main1, children: [{ path: '/', + name: "articleList", component: articleList, props: true }, @@ -37,16 +39,21 @@ component: box1, }, { + name: "tagTime", path: '/tagTime', component: tagTime, - props: true + }, + { + name: "comment", + path: '/comment', + component: comment, }, { path: '/tagInfo', component: tagInfo, }, { - name:"mdDetail", + name: "mdDetail", path: '/mdDetail', component: mdDetail, }, { @@ -56,10 +63,11 @@ ] }, { - path: '/main1', + path: '/articleList', component: main1, children: [{ path: '/', + name: "articleList", component: articleList, }] }, -- Gitblit v1.9.1