Commit 7670855b authored by anxixi's avatar anxixi

翻译问题

parent 7f6a2c13
......@@ -152,6 +152,14 @@
})
},
gettransAxios(){
let companyLabelList = [];
if(this.companyInfo.companyLabelList){
if(this.companyInfo.companyLabelList.length !=0){
for(let i in this.companyInfo.companyLabelList){
companyLabelList.push({keyId:i,value:this.companyInfo.companyLabelList[i]})
}
}
}
let params = {
transType:'BaiDu',
cacheType:'projectDetails',
......@@ -160,16 +168,22 @@
pageType:'mobilePhone',
companyName:this.companyInfo.companyName,
companyIntroduction:this.companyInfo.companyIntroduction,
companyLabelList:this.companyInfo.companyLabelList,
companyLabelList:companyLabelList,
companyWebsite:this.companyInfo.companyWebsite,
officialAccount:this.companyInfo.officialAccount,
projectInstroduction:this.companyInfo.projectInstroduction,
};
api.transAxios(params).then((response)=>{
if(response.code==0){
let companyLabelListed = [];
if(response.result.companyLabelList){
for(let i in response.result.companyLabelList){
companyLabelListed.push(response.result.companyLabelList[i].value)
}
}
this.companyInfo.companyName = response.result.companyName;
this.companyInfo.companyIntroduction = response.result.companyIntroduction;
this.companyInfo.companyLabelList = response.result.companyLabelList;
this.companyInfo.companyLabelList = companyLabelListed;
this.companyInfo.companyWebsite = response.result.companyWebsite;
this.companyInfo.officialAccount = response.result.officialAccount;
this.companyInfo.projectInstroduction = response.result.projectInstroduction;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment