mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-03 16:35:10 +00:00
[Update] 更新remote-app用户/用户组时自动刷新页面
This commit is contained in:
@@ -179,9 +179,13 @@
|
|||||||
var body = {
|
var body = {
|
||||||
user_groups: groups
|
user_groups: groups
|
||||||
};
|
};
|
||||||
|
var success = function(data) {
|
||||||
|
location.reload();
|
||||||
|
};
|
||||||
requestApi({
|
requestApi({
|
||||||
url: the_url,
|
url: the_url,
|
||||||
body: JSON.stringify(body)
|
body: JSON.stringify(body),
|
||||||
|
success: success
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
Reference in New Issue
Block a user