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'
|
||||
dayjs.locale('zh-cn')
|
||||
|
||||
|
||||
const app = createApp(App)
|
||||
export const globalToast = useToast()
|
||||
dayjs.extend(customParseFormat)
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { ConfigProvider, Progress } from 'ant-design-vue'
|
||||
import { Progress } from 'ant-design-vue'
|
||||
import { defineComponent } from 'vue'
|
||||
|
||||
export default defineComponent({
|
||||
|
|
Loading…
Reference in New Issue