Commit 59fd5e47 authored by anxixi's avatar anxixi

优化

parent 7277df19
......@@ -1223,7 +1223,7 @@
transType:'BaiDu',
cacheType:'projectDetails',
projectId:this.$route.query.projectId,
to:this.$i18n.locale=="zh-CN"?'zh':'en',
to:this.publicFun.getCookie("language")=="zh-CN"?'zh':'en',
projectName:this.addData.projectName,
companyName:this.addData.companyName,
companyIntroduction:this.addData.companyIntroduction,
......@@ -1279,7 +1279,7 @@
}
},
mounted(){
this.diven_zh = this.publicFun.getCookie("language") == "en" ? false : true;
this.diven_zh = this.publicFun.getCookie("language") == "zh-CN" ? true : false;
const empinfo = this.publicFun.getCookie("userInfo")?JSON.parse(this.Base64.decode(this.publicFun.getCookie("userInfo"))):null;
//empType 0 小b 1 大b 2 内部用户
this.projectByIdData();
......
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