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