白名单

var whiteList = ['openI', 'rivacy']
    var values = whiteList.map(item => wx.getStorageSync(item))
    wx.clearStorageSync()
    whiteList.forEach((item, index) => {
      wx.setStorageSync(item, values[index])
    })
posted @ 2020-05-08 09:44  有肌肉的小眼睛  阅读(185)  评论(0)    收藏  举报