在app.tsx中使用antd相关组件
#12336
Replies: 1 comment
-
用全局的 intl 实例上的方法获取吧: const intl = getIntl()
const msg = intl.formatMessage({ id: 'site.title' }) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
如图我在app.ts配置request的时候 使用国际化会直接报错 如包括使用antd不在App组件包裹之内也会有waring 应该怎么解决呢?
Beta Was this translation helpful? Give feedback.
All reactions