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