list.tsx 578 B

123456789101112131415161718192021222324252627
  1. import List from "./list.vue";
  2. import TreeList from "./treeList.vue";
  3. import PageList from "./pageList.vue";
  4. const rendContent = (val: string) =>
  5. `代码位置:src/views/table/virtual/${val}.vue`;
  6. export const list = [
  7. {
  8. key: "list",
  9. content: rendContent("list"),
  10. title: "虚拟表格",
  11. component: List
  12. },
  13. {
  14. key: "treeList",
  15. content: rendContent("treeList"),
  16. title: "虚拟树形表格",
  17. component: TreeList
  18. },
  19. {
  20. key: "pageList",
  21. content: rendContent("pageList"),
  22. title: "分页表格",
  23. component: PageList
  24. }
  25. ];