Commit 92d89bfb authored by anxixi's avatar anxixi

人脉圈

parent 930a59ab
......@@ -247,7 +247,7 @@
urltext:'',
urlIntegral:this.publicFun.getCurrentHrefEnv() + "/index",
isTrans:this.publicFun.getCookie("language")=="zh-CN"?true:false,
userInfo : this.publicFun.getUserInfoCookieType() ? JSON.parse(this.Base64.decode(this.publicFun.getUserInfoCookieType())) : {},
userInfo : this.publicFun.getUserInfoCookieType() ? JSON.parse(this.Base64.decode(this.publicFun.getUserInfoCookieType())) : null,
}
},
components:{
......@@ -540,7 +540,7 @@
if(!this.userInfo){
this.$router.push({path:"/circleList"});
return
}
}else{
if(this.isTrans){
this.isrouterType(this.$route.path);
}else{
......@@ -552,14 +552,15 @@
if(this.$route.query.id){
this.selectBaseEmpRelation();
}
}
},
watch: {
$route(to, from) {
//将mounted中的数据在这里重新加载一下即可
if(!this.userInfo){
this.$router.push({path:"/circleList"});
}
return
}else{
this.activeName = 'comment';
this.empContactData = {
baseEmpInformation:{}
......@@ -579,6 +580,7 @@
this.isrouterType('/peoplehome/tabs/activity');
}
}
}
},
}
</script>
......
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