1、小程序本地存储 存值,无需转换为string wx.setStorageSync("cates", { time: Date.now(), data: this.Cates }) 取值,同样无需类型转换 wx.getStorageSync("cates")