Commit 923b760b by caoyanzhi

update: 调整字段取值

parent b18d60dc
......@@ -27,14 +27,14 @@ export default {
return {
userInfo: {
headImg: '',
staffName: ''
clerkName: ''
}
};
},
created() {
const userInfo = JSON.parse(sessionStorage.getItem('userInfos') || '{}');
this.userInfo.headImg = userInfo.headImg;
this.userInfo.staffName = userInfo.staffName;
this.userInfo.clerkName = userInfo.clerkName;
},
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