mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-06 16:37:18 +08:00
refactor: 重构图标模块,使用`@iconify/json`替换不再维护更新的`@iconify-icons/*`依赖,优化使用体验,确保图标库可持续更新并支持`Tree-shaking`
47 lines
1.0 KiB
TypeScript
47 lines
1.0 KiB
TypeScript
import { $t } from "@/plugins/i18n";
|
|
import { table } from "@/router/enums";
|
|
|
|
export default {
|
|
path: "/table",
|
|
redirect: "/table/index",
|
|
meta: {
|
|
icon: "ri/table-line",
|
|
title: $t("menus.pureTable"),
|
|
rank: table
|
|
},
|
|
children: [
|
|
{
|
|
path: "/table/index",
|
|
name: "PureTable",
|
|
component: () => import("@/views/table/index.vue"),
|
|
meta: {
|
|
title: $t("menus.pureTableBase")
|
|
}
|
|
},
|
|
{
|
|
path: "/table/high",
|
|
name: "PureTableHigh",
|
|
component: () => import("@/views/table/high.vue"),
|
|
meta: {
|
|
title: $t("menus.pureTableHigh")
|
|
}
|
|
},
|
|
{
|
|
path: "/table/edit",
|
|
name: "PureTableEdit",
|
|
component: () => import("@/views/table/edit.vue"),
|
|
meta: {
|
|
title: $t("menus.pureTableEdit")
|
|
}
|
|
},
|
|
{
|
|
path: "/table/virtual",
|
|
name: "VxeTable",
|
|
component: () => import("@/views/table/virtual.vue"),
|
|
meta: {
|
|
title: $t("menus.pureVxeTable")
|
|
}
|
|
}
|
|
]
|
|
} satisfies RouteConfigsTable;
|