mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-13 21:59:14 +00:00
fix: 修复账号详情更新切换自报错问题
This commit is contained in:
@@ -196,7 +196,7 @@ export default {
|
|||||||
callbacks: Object.freeze({
|
callbacks: Object.freeze({
|
||||||
change: (value) => {
|
change: (value) => {
|
||||||
const relationUrl = `/api/v1/accounts/accounts/${this.object.id}/`
|
const relationUrl = `/api/v1/accounts/accounts/${this.object.id}/`
|
||||||
return this.$axios.patch(relationUrl, { su_from: value })
|
return this.$axios.patch(relationUrl, { su_from: value, name: this.object.name })
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user