zhuijing
zhuijing
真机预览报错,小程序编辑器正常展示。 
 
const userCity = wx.getStorageSync('userinfo') 应该转换为 const userCity = my.getStorageSync({key:'userCity'}).data; 现在转成了 const userCity = my.getStorageSync({key:'userCity'});缺少了data