如果是刚存储的数据,立刻getStorage是无法获取的,可以延迟获取

setTimeout(function () {
    wx.getStorage
    }, 1000) 
Logo

一站式 AI 云服务平台

更多推荐