PHP群:95885625 Hbuilder+MUI群:81989597 站长QQ:634381967
    您现在的位置: 首页 > 开发编程 > HBuilderX教程 > 正文

    uniapp 数据缓存

    作者:admin来源:网络浏览:时间:2021-10-25 09:54:25我要评论
    导读:uniapp数据缓存如何存储?
    数据缓存

    1.uni.getStorage 异步   uni.getStorageSync 同步  获取指定的key

    1.uni.getStorageInfo   uni.getStorageInfoSync   获取所有的key

    2.uni.setStorage 

    3.uni.removeStorage

    4.uni.clearStorage 清理本地数据缓存 uni.clearStorageSync() 同步清理本地数据缓存
    转载请注明(B5教程网)原文链接:https://b5.mxunkeji.com/content-146-6643-1.html
    相关热词搜索: uniapp数据缓存