perf: 用户组添加 user 显示优化

This commit is contained in:
feng
2023-06-09 18:52:44 +08:00
parent fbbac6cea5
commit 21f4f003bb

View File

@@ -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()
} }
} }