diff --git a/docs/api/storage/storage.md b/docs/api/storage/storage.md index 9ee1c0bed9bda1535db2c86ca67fdb8f27eaba93..d0878d6d933a7dfecf93c91b0718d72e2abb9b1f 100644 --- a/docs/api/storage/storage.md +++ b/docs/api/storage/storage.md @@ -224,6 +224,7 @@ uni-app的Storage在不同端的实现不同: - 微信小程序单个 key 允许存储的最大数据长度为 1MB,所有数据存储上限为 10MB。 - 支付宝小程序单条数据转换成字符串后,字符串长度最大200*1024。同一个支付宝用户,同一个小程序缓存总上限为10MB。 - 百度、字节跳动小程序文档未说明大小限制 +- 非App平台清空Storage会导致uni.getSystemInfo获取到的uuid改变 除此之外,其他数据存储方案: - H5端还支持websql、indexedDB、sessionStorage diff --git a/docs/api/system/info.md b/docs/api/system/info.md index 567cc6434ae0a972ed008aa4709e11ba39b844b4..246675ca31d46caa6fdbc7b3700880e416cb62f0 100644 --- a/docs/api/system/info.md +++ b/docs/api/system/info.md @@ -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