Compare commits

..

No commits in common. "ad3a2cb1ae5dfc4b24adeeb1e41b8cbe6a86a5c0" and "007cf5e638115f14e658b96223d95d1ea72e80ef" have entirely different histories.

View File

@ -68,7 +68,7 @@ export default {
getUserMsg() {
let id = this.$store.getters.userId
getUserSimple(id).then(res => {
this.dept = res.data.deptName ? res.data.deptName : '---'
this.dept = res.data.deptName ? res.data.dept.deptName : '---'
})
},
async logout() {