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({