[Update] 更新remote-app用户/用户组时自动刷新页面

pull/4008/head
Bai 2020-05-18 15:40:54 +08:00
parent 75edc26a10
commit 041d99f0be
1 changed files with 5 additions and 1 deletions

View File

@ -179,9 +179,13 @@
var body = {
user_groups: groups
};
var success = function(data) {
location.reload();
};
requestApi({
url: the_url,
body: JSON.stringify(body)
body: JSON.stringify(body),
success: success
});
}
$(document).ready(function () {