fix navbar right

This commit is contained in:
lb 2024-02-26 10:28:16 +08:00
parent 2997f4b7b9
commit 512986faf6

View File

@ -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() {