mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-11-15 14:03:36 +08:00
feat: 新增 @pureadmin/table 右键菜单示例
This commit is contained in:
@@ -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
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user