关于LocaleProvider汉化的问题 #8881
关于LocaleProvider汉化的问题 #8881
Comments
It will be better to write your issue/comment in English, so more people can understand you. |
Hello @guoxiangwen. Please provide a online reproduction by forking this link https://u.ant.design/codesandbox-repro. Issues labeled by |
这两个是重复的。 |
@afc163 已经改过来了,还是一样的效果 |
保留这个一个就够了, |
https://codepen.io/afc163/pen/LeQVxg?editors=0010 发现需要这么写才行: |
@yesmeck 这块是不是可以修正? |
厉害。谢谢了 |
@afc163 大神,还有个问题,就是我的所有antd的组件以及css都是通过link和script标签挂载在window下的。然后在webpack extral.如果要修改字体大小或者其他的属性。按照官网的方法是行不通的。有没有什么办法呢? |
奇怪,我本地 build 出来没有这个 default。 |
Version
3.1.0
Environment
Chrome win10
Reproduction link
https://ant.design/components/locale-provider-cn/
Steps to reproduce
我根据官网的说明 配置相关
index.html
entry.jsx
What is expected?
DatePicker组件英文变成中文
What is actually happening?
在某一个页面中用 DatePicker组件,初始化的时候是显示的中文,但是today还是英文。当选择日期的时候再次打开 全部变成英文
因为这个设计到环境的问题,我的antd组件都是挂载window下的。所以无法用codeopen重现
The text was updated successfully, but these errors were encountered: