fix: menu search (#214)

* fix: menu search

* fix: i18

* perf: delete route name
This commit is contained in:
一万
2022-03-12 23:32:32 +08:00
committed by GitHub
parent 494ce8f41b
commit 51d08e4b82
14 changed files with 5 additions and 23 deletions

View File

@@ -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