Commit e729bc18 by caoyanzhi

菜单框架调整

parent 98122498
......@@ -32,9 +32,9 @@ export default {
};
},
created() {
const userInfo = JSON.parse(sessionStorage.getItem('userInfos') || '{ staffDTO: {} }');
this.userInfo.headImg = userInfo.staffDTO.headImg;
this.userInfo.staffName = userInfo.staffDTO.staffName;
const userInfo = JSON.parse(sessionStorage.getItem('userInfos') || '{}');
this.userInfo.headImg = userInfo.headImg;
this.userInfo.staffName = userInfo.staffName;
},
methods: {
handleCommand(command) {
......
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