mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-01 15:37:19 +00:00
[Bugfix] 修复 ApiUpdateAttr的bug
This commit is contained in:
@@ -170,9 +170,7 @@ function APIUpdateAttr(props) {
|
|||||||
dataType: props.data_type || "json"
|
dataType: props.data_type || "json"
|
||||||
}).done(function(data, textStatue, jqXHR) {
|
}).done(function(data, textStatue, jqXHR) {
|
||||||
if (flash_message) {
|
if (flash_message) {
|
||||||
if (send_message) {
|
toastr.success(success_message);
|
||||||
toastr.success(success_message);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (typeof props.success === 'function') {
|
if (typeof props.success === 'function') {
|
||||||
return props.success(data);
|
return props.success(data);
|
||||||
|
Reference in New Issue
Block a user