mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-09 13:53:38 +08:00
feat: 新增 @pureadmin/table 内嵌 echarts 图表示例
This commit is contained in:
@@ -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
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user