Commit a5443b44 by zhangxw

确认订单页面地址bug修复

1 parent e0b49374
......@@ -198,7 +198,9 @@ Page({
contactPhone: val.receiveMobile,
contactAddress: `${val.provinceName}${val.cityName}${val.countyName}${val.address}`
}
} else {
}
})
if (!Object.keys(obj)?.length) {
let data = res[0]
obj = {
...data,
......@@ -207,7 +209,6 @@ Page({
contactAddress: `${data.provinceName}${data.cityName}${data.countyName}${data.address}`
}
}
})
this.setData({
contactInfo: obj,
isDefault: obj?.isDefault == 1,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!