From fce3725a4b573091e447419c4324918531034e28 Mon Sep 17 00:00:00 2001 From: log1997 <2694233102@qq.com> Date: Tue, 2 Dec 2025 17:43:56 +0800 Subject: [PATCH] =?UTF-8?q?feat(router=E3=80=81config):=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E9=85=8D=E7=BD=AE=E9=A1=B5=E9=9D=A2=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将 FaceConfig、ImageConfig 和 MusicConfig 组件的导入路径从直接引用 `.vue` 文件改为引用 `index.vue`。 --- src/router/index.ts | 6 +++--- .../Global/{ => FaceConfig}/components/PatternSetting.vue | 0 .../Config/Global/{FaceConfig.vue => FaceConfig/index.vue} | 0 .../Global/{ImageConfig.vue => ImageConfig/index.vue} | 0 .../Global/{MusicConfig.vue => MusicConfig/index.vue} | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename src/views/Config/Global/{ => FaceConfig}/components/PatternSetting.vue (100%) rename src/views/Config/Global/{FaceConfig.vue => FaceConfig/index.vue} (100%) rename src/views/Config/Global/{ImageConfig.vue => ImageConfig/index.vue} (100%) rename src/views/Config/Global/{MusicConfig.vue => MusicConfig/index.vue} (100%) diff --git a/src/router/index.ts b/src/router/index.ts index ef753a3..d5f9535 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -75,7 +75,7 @@ export const configRoutes = { { path: '/log-lottery/config/global/face', name: 'FaceConfig', - component: () => import('@/views/Config/Global/FaceConfig.vue'), + component: () => import('@/views/Config/Global/FaceConfig/index.vue'), meta: { title: i18n.global.t('sidebar.viewSetting'), icon: 'face', @@ -84,7 +84,7 @@ export const configRoutes = { { path: '/log-lottery/config/global/image', name: 'ImageConfig', - component: () => import('@/views/Config/Global/ImageConfig.vue'), + component: () => import('@/views/Config/Global/ImageConfig/index.vue'), meta: { title: i18n.global.t('sidebar.imagesManagement'), icon: 'image', @@ -93,7 +93,7 @@ export const configRoutes = { { path: '/log-lottery/config/global/music', name: 'MusicConfig', - component: () => import('@/views/Config/Global/MusicConfig.vue'), + component: () => import('@/views/Config/Global/MusicConfig/index.vue'), meta: { title: i18n.global.t('sidebar.musicManagement'), icon: 'music', diff --git a/src/views/Config/Global/components/PatternSetting.vue b/src/views/Config/Global/FaceConfig/components/PatternSetting.vue similarity index 100% rename from src/views/Config/Global/components/PatternSetting.vue rename to src/views/Config/Global/FaceConfig/components/PatternSetting.vue diff --git a/src/views/Config/Global/FaceConfig.vue b/src/views/Config/Global/FaceConfig/index.vue similarity index 100% rename from src/views/Config/Global/FaceConfig.vue rename to src/views/Config/Global/FaceConfig/index.vue diff --git a/src/views/Config/Global/ImageConfig.vue b/src/views/Config/Global/ImageConfig/index.vue similarity index 100% rename from src/views/Config/Global/ImageConfig.vue rename to src/views/Config/Global/ImageConfig/index.vue diff --git a/src/views/Config/Global/MusicConfig.vue b/src/views/Config/Global/MusicConfig/index.vue similarity index 100% rename from src/views/Config/Global/MusicConfig.vue rename to src/views/Config/Global/MusicConfig/index.vue