Skip to main content
Version: 1.x

Taro.getStorageInfoSync()

同步获取当前 storage 的相关信息。

示例代码#

import Taro from '@tarojs/taro'
const res = Taro.getStorageInfoSync()
console.log(res.keys)

API支持度#

API微信小程序H5React Native
Taro.getStorageInfoSync✔️✔️