This commit is contained in:
plightfield 2024-11-15 21:08:22 +08:00
parent ddb834f0f7
commit 9415fb7c14
3 changed files with 1 additions and 5 deletions

View File

@ -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)

View File

@ -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?.()}
</ConfigProvider>

View File

@ -1,4 +1,4 @@
import { ConfigProvider, Progress } from 'ant-design-vue'
import { Progress } from 'ant-design-vue'
import { defineComponent } from 'vue'
export default defineComponent({