alibaba / react-intl-universal

Internationalize React apps. Not only for Component but also for Vanilla JS.
1.33k stars 154 forks source link

Iphone SE 二代 intl.intl() 进入到 catch 里面 #178

Closed jiangkeyuan closed 2 years ago

jiangkeyuan commented 2 years ago

手机型号:iphone se2 手机操作版本 14.3 "react-intl-universal": "^1.16.2"

intl.init({ currentLocale: window.localeLanguage, locales: { "en-HK": enHK, "zh-CN": zhCN, "zh-HK": zhHK, "debug-i18n": debugI18n } }) .then(() => { this.setState({initDone: true}); }).catch((e)=>{ //三语库 console.log('-------------$e;); });

进入到 catch 里面 错误信息 为 '' 空

jiangkeyuan commented 2 years ago

升级 2.4.2 解决问题。 目前排查到 大该因为 低版本 请求了 配置文件过慢 导致报错 image