feat: 新增 @pureadmin/table 行、列拖拽示例

This commit is contained in:
xiaoxian521
2022-11-23 12:03:17 +08:00
parent 27d9339a4c
commit 7472c25c0a
44 changed files with 406 additions and 90 deletions

View File

@@ -1,10 +1,12 @@
import { $t } from "@/plugins/i18n";
import hot from "@/assets/svg/hot.svg?component";
import type { RouteConfigsTable } from "/#/index";
const flowChartRouter: RouteConfigsTable = {
path: "/pure-table",
redirect: "/pure-table/index",
meta: {
icon: "mdi:table-large",
icon: hot,
title: "pure-admin-table",
rank: 4
},
@@ -14,11 +16,15 @@ const flowChartRouter: RouteConfigsTable = {
name: "PureTable",
component: () => import("@/views/pure-table/index.vue"),
meta: {
title: "pure-admin-table",
extraIcon: {
svg: true,
name: "team-iconxinpin"
}
title: $t("menus.hsPureTableBase")
}
},
{
path: "/pure-table/high",
name: "PureTableHigh",
component: () => import("@/views/pure-table/high.vue"),
meta: {
title: $t("menus.hsPureTableHigh")
}
}
]