feat: 新增 @pureadmin/table 内嵌 echarts 图表示例

This commit is contained in:
xiaoxian521
2022-11-24 15:06:56 +08:00
parent d7364d59a9
commit 10fdb30e07
6 changed files with 127 additions and 12 deletions

View File

@@ -5,6 +5,7 @@ import Execl from "./execl/index.vue";
import Edit from "./edit/index.vue";
import Watermark from "./watermark/index.vue";
import Print from "./prints/index.vue";
import Echarts from "./echarts/index.vue";
const rendContent = (val: string) =>
`代码位置src/views/pure-table/high/${val}/index.vue`;
@@ -28,6 +29,12 @@ export const list = [
title: "右键菜单",
component: Contextmenu
},
{
key: "edit",
content: rendContent("edit"),
title: "单元格编辑",
component: Edit
},
{
key: "execl",
content: rendContent("execl"),
@@ -35,10 +42,10 @@ export const list = [
component: Execl
},
{
key: "edit",
content: rendContent("edit"),
title: "单元格编辑",
component: Edit
key: "print",
content: rendContent("print"),
title: "打印",
component: Print
},
{
key: "watermark",
@@ -47,9 +54,9 @@ export const list = [
component: Watermark
},
{
key: "print",
content: rendContent("print"),
title: "打印",
component: Print
key: "echarts",
content: rendContent("echarts"),
title: "内嵌echarts图表",
component: Echarts
}
];