Cannot read property 'result' of undefined咋回事?
萌新一个,这个错误咋回事啊QAQ, getLocaFun().thenfunctionres return getCityFunres); }) catchfunction() // 首页-未开启定位 wxreportAnalytics'viewstoreclick_d'); commoncommonObjgetUserSetting(); }) thenfunctionres consolelogresresultad_info let ad_info resresultad_info let cityName ad_infocity let location ad_infolocation ifwxgetStorageSync'city'&& cityName != wxgetStorageSync'city').cityName//切换城市,清空门店数据 wxsetStorageSync'selfLiftStore'''); ifcityName && location wxsetStorageSync'userCurrLoca',{'cityName'cityName'location'location}); returntypeof cb =='function'&& cb(); }) },