Skip to content

浏览器引入antd-with-locales.min.js汉化不起作用antd.locales无内容 #3260

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

Closed
1 task
shaoming01 opened this issue Nov 26, 2020 · 5 comments
Closed
1 task

Comments

@shaoming01
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.0.0-rc.2

Environment

antd rc2,vue 3.0.3

Steps to reproduce

1,浏览器引入antd-with-locales.min.js和vue.global.js
2,加入日期组件

What is expected?

日期组件显示中文

What is actually happening?

日期组件无法显示中文,antd.locales变量为空

beata10版本是OK的,更新到RC版本不行了。

@sendya
Copy link
Member

sendya commented Nov 26, 2020

引入之前先引入 moment.js 试试

@shaoming01
Copy link
Author

引入之前先引入 moment.js 试试

正常引入了moment.js,之前的antd beta10版本都是OK的,更新到RC2不行了。
出问题的汉化是antd部分的中文,不仅是日期

@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@ghost
Copy link

ghost commented Feb 19, 2021

#3684 然后自己打包一份.

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 20, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants