forked from fanruan/design
Browse Source
1. bug原因:在中文环境下,这边传过来的Locale是zh-Hans-CN,进入isSupport方法中时会发现不匹配,然后Locale被设置成en_US,然后在报错弹窗里面的内容就都是英文了 2. 修改方案:增加判断,将传过来的Locale的script抹去,只保留language和region,跟代码里面保存的Locale保持一致feature/big-screen
Yvan
4 years ago
1 changed files with 9 additions and 5 deletions
Loading…
Reference in new issue