提交 1cbf40c3 编写于 作者: Q qiang

docs: update locale

上级 836ae8c9
......@@ -93,6 +93,7 @@
* [媒体查询](api/ui/media-query-observer.md)
* [自定义组件](api/ui/nextTick.md)
* [菜单](api/ui/menuButton.md)
* [语言](api/ui/locale.md)
* 页面和窗体
* [页面](api/window/window.md)
* [页面通讯](api/window/communication.md)
......
......@@ -2,6 +2,12 @@
获取当前设置的语言
**平台差异说明**
|App|H5|微信小程序|支付宝小程序|百度小程序|字节跳动小程序|QQ小程序|华为快应用|360小程序|
|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|:-:|
|√|√|x|x|x|x|x|x|x|
如果当前应用设置过语言,会获取到之前设置的语言,未设置会使用系统语言。
### uni.setLocale(locale)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册