feat: 新增 @pureadmin/table 右键菜单示例

This commit is contained in:
xiaoxian521
2022-11-23 15:17:26 +08:00
parent 7472c25c0a
commit c16ee6cf68
7 changed files with 112 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
import RowDrag from "./drag/row/index.vue";
import ColumnDrag from "./drag/column/index.vue";
import Contextmenu from "./contextmenu/index.vue";
const rendContent = (val: string) =>
`代码位置src/views/pure-table/high/${val}/index.vue`;
@@ -16,5 +17,11 @@ export const list = [
content: rendContent("drag/column"),
title: "拖拽表格(列拖拽)",
component: ColumnDrag
},
{
key: "contextmenu",
content: rendContent("contextmenu"),
title: "右键菜单",
component: Contextmenu
}
];