-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
打包后 国际化问题比较多 部分地方显示异常, 传参失败 甚至影响到了布局 #1122
Comments
本地开发环境一开始也是这样的,后面打包后 线上是这样 本地开发环境变好了。。。我该怎么排查这个问题 |
Pagination中设置showTotal试试 |
本地开发环境是好的 |
感觉多语言这部分 打包后 问题很多 是不是我流程没用对啊? |
并没有compile命令 作为对照,可以尝试直接在本项目做改动,看打包正常不 |
就是只需要yarn trans命令识别字段然后翻译就好了? 好的我试下 |
随便玩 |
@superlbr 我从github上面下载的项目,没有改locale文件,直接打包一样国际化有问题; |
|
Trans不是这么用的,应该这么写:
就是这么设计的
把FormItem弄到里面,这么写:
|
@superlbr 后面我就用Trans不用t了是吧 |
目前来看是这样 |
@superlbr layout/index.js代码
|
这是来自QQ邮箱的假期自动回复邮件。你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。
|
The text was updated successfully, but these errors were encountered: