Uncaught (in promise) TypeError怎么解决?
操作系统:Windows,工具版本号:1.02.1911180
get_logo_url: function () {
var that = this;
if (wx.getStorageSync('logo_url')) return this.setData({ logo_url: wx.getStorageSync('logo_url') });
getLogo().then(res=>{
wx.setStorageSync('logo_url', res.data.logo_url);
that.setData({ logo_url: res.data.logo_url });
});
},