mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-06 07:21:24 +08:00
Modify personal profile request judgment
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user