【BUG】 标协会员基本信息修改

This commit is contained in:
fengachen
2022-01-13 12:42:48 +08:00
parent fb86d8a546
commit 747de4cccd
2 changed files with 16 additions and 8 deletions
+9 -1
View File
@@ -14,8 +14,16 @@ Page({
getStandardBasicInfo().then(res => {
console.log(res);
if(res.success){
const secretariatInfo = res.result.tbContacts || {}
const obj = {}
obj.address = secretariatInfo.address || '天津市东丽开发区先锋东路68号'
obj.realname = res.result.secretariat.realname || '郭琳'
obj.telephone = secretariatInfo.telephone
obj.email = secretariatInfo.email
this.setData({
secretariatInfo:res.result.tbContacts,
secretariatInfo:obj,
companyInfo:res.result.memberInfo
})
}