1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-05 15:01:23 +08:00

Modify personal profile request judgment

This commit is contained in:
ggb
2023-06-04 19:51:23 +08:00
parent cbb21dc193
commit 7ae1cfb7d8

View File

@@ -152,8 +152,8 @@ export default {
request.get('/user/info').then((res) => {
const response = res.data
if (response.code === DATABASE_SELECT_OK) {
this.staff = response.data.data.staff
this.staff.username = response.data.data.username
this.staff = response.data.staff
this.staff.username = response.data.username
this.form = _.cloneDeep(this.staff)
} else {
ElMessage({