使用前的日期控件:
加上moment之后就好了。
资料来源:
https://www.antdv.com/components/config-provider-cn/
https://ant.design/components/config-provider-cn/#API
<template>
<a-config-provider :locale="locale">
<div id="app">
<router-view />
</div>
</a-config-provider>
</template>
<script>
import zhCN from 'ant-design-