lixiaojian
lixiaojian
我这边也出现了这个问题,只要表格外面套有 div 或 h 标签,表格就会被忽略,直接显示纯文本。
官网也是年份中文,月份英文
使用 npm ls dayjs 看了一下 dayjs 的版本列表 如下 ` ├─┬ @ant-design/[email protected] │ ├─┬ @ant-design/[email protected] │ │ └── [email protected] deduped │ ├─┬ @ant-design/[email protected] │ │ └── [email protected] deduped │ ├─┬ @ant-design/[email protected]...
@afc163 @zombieJ 我发现这个问题很神奇呀,时好时坏,我去官网看 https://ant.design/components/date-picker-cn 和 https://ant-design.gitee.io/components/date-picker-cn 刚进去年份、月份、星期都是中文,刷新一下页面,月份和星期就变英文了。 我本地整个应用使用了 import { useRoutes } from 'react-router-dom' 做页面路由; ,将 ConfigProvider locale={zhCN} 放在入口文件 index.js 里,也就是在 react-router 的上一层,日历月份是英文 ,然后在 react-router 里面最外一层的组件里 再用 ConfigProvider locale={zhCN} 包一下,月份就中文了,所以是不是和...
能否从 dumi 中导出一个显示代码块的组件。类似于 @docusaurus/theme-classic 里的 CodeBlock,这样就可以在 React 组件中动态展示代码块。
程序员的梦工厂