diff --git a/mock/controller/router.js b/mock/controller/router.js index 38411e9..20acf64 100644 --- a/mock/controller/router.js +++ b/mock/controller/router.js @@ -93,27 +93,12 @@ const data = [ }, { path: "table", - component: "EmptyLayout", - redirect: "noRedirect", + component: "@/views/vab/table/index", name: "Table", meta: { title: "表格", permissions: ["admin"], }, - children: [ - { - path: "comprehensiveTable", - name: "ComprehensiveTable", - component: "@/views/vab/table/index", - meta: { title: "综合表格" }, - }, - { - path: "inlineEditTable", - name: "InlineEditTable", - component: "@/views/vab/table/inlineEditTable", - meta: { title: "行内编辑" }, - }, - ], }, { path: "map", @@ -240,12 +225,6 @@ const data = [ component: "@/views/vab/imgComparison/index", meta: { title: "图像拖拽比对", permissions: ["admin"] }, }, - { - path: "markdown", - name: "Markdown", - component: "@/views/vab/markdown/index", - meta: { title: "markdown阅读器", permissions: ["admin"] }, - }, { path: "smallComponents", name: "SmallComponents", diff --git a/src/router/index.js b/src/router/index.js index 02e713c..a27b769 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -131,27 +131,12 @@ export const asyncRoutes = [ }, { path: "table", - component: EmptyLayout, - redirect: "noRedirect", + component: () => import("@/views/vab/table/index"), name: "Table", meta: { title: "表格", permissions: ["admin"], }, - children: [ - { - path: "comprehensiveTable", - name: "ComprehensiveTable", - component: () => import("@/views/vab/table/index"), - meta: { title: "综合表格" }, - }, - { - path: "inlineEditTable", - name: "InlineEditTable", - component: () => import("@/views/vab/table/inlineEditTable"), - meta: { title: "行内编辑" }, - }, - ], }, { path: "map", @@ -287,12 +272,6 @@ export const asyncRoutes = [ component: () => import("@/views/vab/imgComparison/index"), meta: { title: "图像拖拽比对", permissions: ["admin"] }, }, - { - path: "markdown", - name: "Markdown", - component: () => import("@/views/vab/markdown/index"), - meta: { title: "markdown阅读器", permissions: ["admin"] }, - }, { path: "smallComponents", name: "SmallComponents", diff --git a/src/views/vab/markdown/index.vue b/src/views/vab/markdown/index.vue deleted file mode 100644 index b073566..0000000 --- a/src/views/vab/markdown/index.vue +++ /dev/null @@ -1,68 +0,0 @@ - - - diff --git a/src/views/vab/table/inlineEditTable.vue b/src/views/vab/table/inlineEditTable.vue deleted file mode 100644 index 8a1b683..0000000 --- a/src/views/vab/table/inlineEditTable.vue +++ /dev/null @@ -1,109 +0,0 @@ - - -