perf: 扩展本地图标使用方式,首启动再次减少 13 个请求

This commit is contained in:
xiaoxian521
2022-12-03 21:38:44 +08:00
parent c84c447f3e
commit b4a566b2bf
19 changed files with 77 additions and 50 deletions

View File

@@ -1,7 +1,6 @@
import { $t } from "@/plugins/i18n";
import { home } from "@/router/enums";
const Layout = () => import("@/layout/index.vue");
import HomeFilled from "@iconify-icons/ep/home-filled";
export default {
path: "/",
@@ -9,7 +8,7 @@ export default {
component: Layout,
redirect: "/welcome",
meta: {
icon: HomeFilled,
icon: "homeFilled",
title: $t("menus.hshome"),
rank: home
},