schangxiang@126.com
2025-09-10 3d43ffa3152110b7823f9fa6320c08a6ae02358a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/* * When your routing table is too long, you can split it into small modules* */
 
import Layout from "@/views/layout/layout";
 
const tableRouter = {
  path: "/table",
  component: Layout,
  redirect: "/table/complex-table",
  name: "Table",
  meta: {
    title: "Table",
    icon: "table"
  },
  children: [
    {
      path: "dynamic-table",
      component: () => import("@/views/table/dynamicTable/index"),
      name: "DynamicTable",
      meta: { title: "dynamicTable" }
    },
    {
      path: "drag-table",
      component: () => import("@/views/table/dragTable"),
      name: "DragTable",
      meta: { title: "dragTable" }
    },
    {
      path: "inline-edit-table",
      component: () => import("@/views/table/inlineEditTable"),
      name: "InlineEditTable",
      meta: { title: "inlineEditTable" }
    },
    {
      path: "tree-table",
      component: () => import("@/views/table/treeTable/treeTable"),
      name: "TreeTableDemo",
      meta: { title: "treeTable" }
    },
    {
      path: "custom-tree-table",
      component: () => import("@/views/table/treeTable/customTreeTable"),
      name: "CustomTreeTableDemo",
      meta: { title: "customTreeTable" }
    },
    {
      path: "complex-table",
      component: () => import("@/views/table/complexTable"),
      name: "ComplexTable",
      meta: { title: "complexTable" }
    }
  ]
};
export default tableRouter;