diff --git a/src/router/routes/index.js b/src/router/routes/index.js index 3073a81..960bdb0 100644 --- a/src/router/routes/index.js +++ b/src/router/routes/index.js @@ -99,7 +99,7 @@ export const basicRoutes = [ { name: 'Unocss', path: 'unocss', - component: () => import('@/views/test-page/TestUnocss.vue'), + component: () => import('@/views/test-page/unocss/index.vue'), meta: { title: '测试unocss', }, @@ -107,7 +107,7 @@ export const basicRoutes = [ { name: 'Message', path: 'message', - component: () => import('@/views/test-page/TestMessage.vue'), + component: () => import('@/views/test-page/message/index.vue'), meta: { title: '测试Message', }, @@ -115,7 +115,7 @@ export const basicRoutes = [ { name: 'Dialog', path: 'dialog', - component: () => import('@/views/test-page/TestDialog.vue'), + component: () => import('@/views/test-page/dialog/index.vue'), meta: { title: '测试Dialog', }, @@ -123,7 +123,7 @@ export const basicRoutes = [ { name: 'TestKeepAlive', path: 'keep-alive', - component: () => import('@/views/test-page/TestKeepAlive.vue'), + component: () => import('@/views/test-page/keep-alive/index.vue'), meta: { title: '测试Keep-Alive', keepAlive: true, diff --git a/src/views/test-page/TestDialog.vue b/src/views/test-page/dialog/index.vue similarity index 100% rename from src/views/test-page/TestDialog.vue rename to src/views/test-page/dialog/index.vue diff --git a/src/views/test-page/TestKeepAlive.vue b/src/views/test-page/keep-alive/index.vue similarity index 100% rename from src/views/test-page/TestKeepAlive.vue rename to src/views/test-page/keep-alive/index.vue diff --git a/src/views/test-page/TestMessage.vue b/src/views/test-page/message/index.vue similarity index 100% rename from src/views/test-page/TestMessage.vue rename to src/views/test-page/message/index.vue diff --git a/src/views/test-page/TestUnocss.vue b/src/views/test-page/unocss/index.vue similarity index 100% rename from src/views/test-page/TestUnocss.vue rename to src/views/test-page/unocss/index.vue