@@ -83,7 +83,7 @@ Component({ | |||
app.wxRequest(app.globalData.urlRoot + "address/getAddressV2", {}, res => { | |||
console.log(res); | |||
if (res.code == 200) { | |||
if (res.data) { | |||
if (res.data && res.data.agentDetail) { | |||
this.data.isAddress = true; | |||
this.data.submitData.realName = res.data.realName; | |||
this.data.submitData.mobile = res.data.mobile; |