增加网站管理功能
This commit is contained in:
1 parent
1224735aa8
commit
67e819c629
98 files changed
+8711
-2254
No files matched your search
@@ -173,6 +173,15 @@ const routes: RouteRecordRaw[] = [
|
||||
meta: { title: "政策条款" },
|
||||
},
|
||||
|
||||
// ---------------- 兼容后台「导航菜单」中配置的旧路径 ----------------
|
||||
// 平台端「官网管理 - 导航菜单」当前配的是 CMS 风格路径,与 SPA 实际路由不一致,
|
||||
// 这里做一层重定向,保证点菜单能落到正确页面。
|
||||
// 推荐把导航菜单的路径改成 /news、/products、/about(/solutions、/cases 本来就一致),
|
||||
// 改完后以下 3 条即可删除。
|
||||
{ path: "newscenter", redirect: "/news" },
|
||||
{ path: "productcenter", redirect: "/products" },
|
||||
{ path: "aboutus", redirect: "/about" },
|
||||
|
||||
// ---------------- 兜底 ----------------
|
||||
{
|
||||
path: ":pathMatch(.*)*",
|
||||
|
||||
Reference in new issue
Block a user