From b4b6482e18ce6f49614f5c2ca41dde15f7182089 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=98=B1=E6=B6=B5?= Date: Thu, 20 Feb 2025 10:21:45 +0800 Subject: [PATCH] fix --- test-ui/src/router/index.js | 14 --- test-ui/src/views/test/api/import.vue | 58 ------------ test-ui/src/views/test/api/index.vue | 128 ++++++++++++++++---------- 3 files changed, 79 insertions(+), 121 deletions(-) delete mode 100644 test-ui/src/views/test/api/import.vue diff --git a/test-ui/src/router/index.js b/test-ui/src/router/index.js index 6d39578..747d463 100644 --- a/test-ui/src/router/index.js +++ b/test-ui/src/router/index.js @@ -116,20 +116,6 @@ export const constantRoutes = [ } ] }, - { - path: '/api/import', - component: Layout, - hidden: true, - children: [ - { - path: '', - component: () => import('@/views/test/api/import'), - name: 'ApiImport', - noCache: true, - meta: { title: '导入接口', activeMenu: '/api' } - } - ] - }, ] // 动态路由,基于用户权限动态去加载 diff --git a/test-ui/src/views/test/api/import.vue b/test-ui/src/views/test/api/import.vue deleted file mode 100644 index 3892d12..0000000 --- a/test-ui/src/views/test/api/import.vue +++ /dev/null @@ -1,58 +0,0 @@ - - - - - diff --git a/test-ui/src/views/test/api/index.vue b/test-ui/src/views/test/api/index.vue index 6e840f5..8bf484f 100644 --- a/test-ui/src/views/test/api/index.vue +++ b/test-ui/src/views/test/api/index.vue @@ -1,56 +1,68 @@