From 9415fb7c14ef1b88dda58c7f2c00ee1e439c0f3f Mon Sep 17 00:00:00 2001 From: plightfield <1207120484@qq.com> Date: Fri, 15 Nov 2024 21:08:22 +0800 Subject: [PATCH] change --- src/main.ts | 1 - src/utils/ThemeProvider.tsx | 3 --- src/widgets/constellation/starCicle.tsx | 2 +- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main.ts b/src/main.ts index 4c3321f..7f6a261 100644 --- a/src/main.ts +++ b/src/main.ts @@ -12,7 +12,6 @@ import 'vue-toastification/dist/index.css' import 'dayjs/locale/zh-cn' dayjs.locale('zh-cn') - const app = createApp(App) export const globalToast = useToast() dayjs.extend(customParseFormat) diff --git a/src/utils/ThemeProvider.tsx b/src/utils/ThemeProvider.tsx index 031deff..c31a4aa 100644 --- a/src/utils/ThemeProvider.tsx +++ b/src/utils/ThemeProvider.tsx @@ -1,6 +1,5 @@ import { ConfigProvider, theme } from 'ant-design-vue' import { defineComponent } from 'vue' -import zhCN from 'ant-design-vue/es/locale/zh_CN' export default defineComponent({ props: { @@ -21,7 +20,6 @@ export default defineComponent({ }, components: { - Slider: { railSize: 6 }, @@ -30,7 +28,6 @@ export default defineComponent({ } } }} - locale={zhCN} > {ctx.slots.default?.()} diff --git a/src/widgets/constellation/starCicle.tsx b/src/widgets/constellation/starCicle.tsx index 8d5ad7a..f19b934 100644 --- a/src/widgets/constellation/starCicle.tsx +++ b/src/widgets/constellation/starCicle.tsx @@ -1,4 +1,4 @@ -import { ConfigProvider, Progress } from 'ant-design-vue' +import { Progress } from 'ant-design-vue' import { defineComponent } from 'vue' export default defineComponent({