mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-03 13:44:47 +08:00
fix: menu search (#214)
* fix: menu search * fix: i18 * perf: delete route name
This commit is contained in:
@@ -3,9 +3,8 @@ const Layout = () => import("/@/layout/index.vue");
|
||||
|
||||
const aboutRouter = {
|
||||
path: "/about",
|
||||
name: "reAbout",
|
||||
component: Layout,
|
||||
redirect: "/about",
|
||||
redirect: "/about/index",
|
||||
meta: {
|
||||
icon: "question-line",
|
||||
title: $t("menus.hsAbout"),
|
||||
@@ -14,9 +13,9 @@ const aboutRouter = {
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: "/about",
|
||||
path: "/about/index",
|
||||
name: "reAbout",
|
||||
component: () => import("/@/views/about.vue"),
|
||||
component: () => import("/@/views/about/index.vue"),
|
||||
meta: {
|
||||
title: $t("menus.hsAbout"),
|
||||
i18n: true
|
||||
|
||||
Reference in New Issue
Block a user