fix: 修改编辑功能错误的问题
This commit is contained in:
@@ -123,7 +123,7 @@ export default {
|
|||||||
edit (u) {
|
edit (u) {
|
||||||
get(`${this.url}/${u.id}`).then(response => {
|
get(`${this.url}/${u.id}`).then(response => {
|
||||||
if (response.code === 200) {
|
if (response.code === 200) {
|
||||||
this.object = response.user
|
this.object = response.data
|
||||||
this.rightBox.show = true
|
this.rightBox.show = true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user