From 00434611f1c28f7b33d32ac261c199e1b8f62b65 Mon Sep 17 00:00:00 2001 From: mutoe Date: Fri, 19 Oct 2018 16:10:43 +0800 Subject: [PATCH] =?UTF-8?q?fix(*):=20=E5=85=A5=E5=8F=A3=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=BA=E5=8A=A8=E6=80=81=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routers/routes.js | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/src/routers/routes.js b/src/routers/routes.js index 60c4ab5b..cdd78bd4 100755 --- a/src/routers/routes.js +++ b/src/routers/routes.js @@ -13,10 +13,10 @@ import walletRoutes from "./wallet.js"; import currencyRoutes from "./currency.js"; const router = [ - /* 基础入口 */ - { path: "/", redirect: "/signin" }, - ...baseRoutes, + /* 入口重定向 */ + { path: "/", redirect: "/feeds" }, + ...baseRoutes, ...signRoutes, ...feedRoutes, ...postRoutes, @@ -29,16 +29,6 @@ const router = [ ...walletRoutes, ...currencyRoutes, - // { - // path: "/post/fatie", - // name: "postGroupFeed", - // component: postGroupFeed, - // meta: { - // keepAlive: true, - // title: "发布帖子", - // requiresAuth: true - // } - // }, { path: "*", component: NotFound } /* 404 页面 */ ];