This commit is contained in:
plightfield 2024-09-13 12:20:52 +08:00
parent 15a560ea25
commit 3f292b3744
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
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: {
@ -19,6 +20,7 @@ export default defineComponent({
colorBorder: 'transparent' colorBorder: 'transparent'
} }
}} }}
locale={zhCN}
> >
{ctx.slots.default?.()} {ctx.slots.default?.()}
</ConfigProvider> </ConfigProvider>