mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-16 23:31:29 +00:00
perf: 用户组添加 user 显示优化
This commit is contained in:
@@ -49,6 +49,7 @@ export default {
|
||||
this.$axios.post(
|
||||
`/api/v1/users/groups/${this.object.id}/add-all-users/`,
|
||||
).then(res => {
|
||||
this.$message.success(this.$tc('common.AddSuccessMsg'))
|
||||
window.location.reload()
|
||||
})
|
||||
}
|
||||
@@ -133,6 +134,7 @@ export default {
|
||||
}
|
||||
})
|
||||
this.$axios.post(relationUrl, data)
|
||||
this.$message.success(this.$tc('common.AddSuccessMsg'))
|
||||
window.location.reload()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user