mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 23:11: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) => {
|
request.get('/user/info').then((res) => {
|
||||||
const response = res.data
|
const response = res.data
|
||||||
if (response.code === DATABASE_SELECT_OK) {
|
if (response.code === DATABASE_SELECT_OK) {
|
||||||
this.staff = response.data.data.staff
|
this.staff = response.data.staff
|
||||||
this.staff.username = response.data.data.username
|
this.staff.username = response.data.username
|
||||||
this.form = _.cloneDeep(this.staff)
|
this.form = _.cloneDeep(this.staff)
|
||||||
} else {
|
} else {
|
||||||
ElMessage({
|
ElMessage({
|
||||||
|
|||||||
Reference in New Issue
Block a user