change
This commit is contained in:
parent
ddb834f0f7
commit
9415fb7c14
|
@ -12,7 +12,6 @@ import 'vue-toastification/dist/index.css'
|
||||||
import 'dayjs/locale/zh-cn'
|
import 'dayjs/locale/zh-cn'
|
||||||
dayjs.locale('zh-cn')
|
dayjs.locale('zh-cn')
|
||||||
|
|
||||||
|
|
||||||
const app = createApp(App)
|
const app = createApp(App)
|
||||||
export const globalToast = useToast()
|
export const globalToast = useToast()
|
||||||
dayjs.extend(customParseFormat)
|
dayjs.extend(customParseFormat)
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
import { ConfigProvider, theme } from 'ant-design-vue'
|
import { ConfigProvider, theme } from 'ant-design-vue'
|
||||||
import { defineComponent } from 'vue'
|
import { defineComponent } from 'vue'
|
||||||
import zhCN from 'ant-design-vue/es/locale/zh_CN'
|
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
props: {
|
props: {
|
||||||
|
@ -21,7 +20,6 @@ export default defineComponent({
|
||||||
},
|
},
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
|
|
||||||
Slider: {
|
Slider: {
|
||||||
railSize: 6
|
railSize: 6
|
||||||
},
|
},
|
||||||
|
@ -30,7 +28,6 @@ export default defineComponent({
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
locale={zhCN}
|
|
||||||
>
|
>
|
||||||
{ctx.slots.default?.()}
|
{ctx.slots.default?.()}
|
||||||
</ConfigProvider>
|
</ConfigProvider>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { ConfigProvider, Progress } from 'ant-design-vue'
|
import { Progress } from 'ant-design-vue'
|
||||||
import { defineComponent } from 'vue'
|
import { defineComponent } from 'vue'
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
|
|
Loading…
Reference in New Issue