diff --git a/src/App.vue b/src/App.vue index 165d44e..9c3d663 100644 --- a/src/App.vue +++ b/src/App.vue @@ -15,6 +15,7 @@ Table Demo 13: 筛选
Table Demo 14: 展开行
Table Demo 15: 树形数据
+ Table Demo 16: 分页
diff --git a/src/router/index.js b/src/router/index.js index f111bf1..2435aa9 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -17,6 +17,7 @@ const tableDemo12 = () => import('../views/Table_Demo12.vue') const tableDemo13 = () => import('../views/Table_Demo13.vue') const tableDemo14 = () => import('../views/Table_Demo14.vue') const tableDemo15 = () => import('../views/Table_Demo15.vue') +const tableDemo16 = () => import('../views/Table_Demo16.vue') // 引入组件 @@ -99,10 +100,15 @@ const routes = [ component: tableDemo14 }, { - path: '/table25', + path: '/table15', name: 'table15', component: tableDemo15 }, + { + path: '/table16', + name: 'table16', + component: tableDemo16 + }, ] // 创建路由器,使用createRouter方法,传入history(路由类型)和 创建好的路由routes diff --git a/src/views/Table_Demo16.vue b/src/views/Table_Demo16.vue new file mode 100644 index 0000000..d58ecce --- /dev/null +++ b/src/views/Table_Demo16.vue @@ -0,0 +1,64 @@ + + + + + \ No newline at end of file