提交 e4158a4c 编写于 作者: Q qiang

docs: 更新 uni.getSystemInfo 文档

上级 4d4b09de
......@@ -224,6 +224,7 @@ uni-app的Storage在不同端的实现不同:
- 微信小程序单个 key 允许存储的最大数据长度为 1MB,所有数据存储上限为 10MB。
- 支付宝小程序单条数据转换成字符串后,字符串长度最大200*1024。同一个支付宝用户,同一个小程序缓存总上限为10MB。
- 百度、字节跳动小程序文档未说明大小限制
- 非App平台清空Storage会导致uni.getSystemInfo获取到的uuid改变
除此之外,其他数据存储方案:
- H5端还支持websql、indexedDB、sessionStorage
......
......@@ -52,6 +52,7 @@
|wifiEnabled | Wi-Fi 的系统开关 |微信小程序|
|safeArea|在竖屏正方向下的安全区域|App、H5、微信小程序|
|safeAreaInsets|在竖屏正方向下的安全区域插入位置(2.5.3+)|App、H5、微信小程序|
|uuid|通用唯一识别码|非 App 端清空 Storage 会导致改变|
**Tips**
- 屏幕高度 = 原生NavigationBar高度(含状态栏高度)+ 可使用窗口高度 + 原生TabBar高度
......@@ -143,6 +144,7 @@ uni.getSystemInfo({
|wifiEnabled | Wi-Fi 的系统开关 |微信小程序|
|safeArea|在竖屏正方向下的安全区域|App、H5、微信小程序|
|safeAreaInsets|在竖屏正方向下的安全区域插入位置(2.5.3+)|App、H5、微信小程序|
|uuid|通用唯一识别码|非 App 端清空 Storage 会导致改变|
**Tips**
- 使用注意同上getSystemInfo
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册