Commit 2b1d7f5d authored by anxixi's avatar anxixi

人脉圈

parent 4a1ff7e5
......@@ -160,6 +160,11 @@
},
mounted() {
this.getuserSearch();
globalMsg.$on("loginsuccess",(data)=>{
this.empInfo = this.publicFun.getUserInfoCookieType() ? JSON.parse(this.Base64.decode(this.publicFun.getUserInfoCookieType())) : {};
this.cur_page = 1;
this.getuserSearch();
});
}
}
</script>
......
......@@ -154,13 +154,16 @@
this.$set(this.networkringlist, index, row.baseEmpRelationDTO);
},
},
beforeDestroy() { // 在组件生命周期结束的时候销毁。、
globalMsg.$off('loginsuccess');
},
mounted() {
this.getActivityList();
globalMsg.$on("loginsuccess",(data)=>{
this.empInfo = this.publicFun.getUserInfoCookieType() ? JSON.parse(this.Base64.decode(this.publicFun.getUserInfoCookieType())) : null;
this.cur_page = 1;
this.getActivityList();
})
});
}
}
</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