修复successCallback方法对于非特定表格类型无响应问题(IBG6ZD)

master
RuoYi 2025-02-26 12:23:50 +08:00
parent 568787a12a
commit 2537abd095
1 changed files with 4 additions and 3 deletions

View File

@ -1319,16 +1319,17 @@ var table = {
if (result.code == web_status.SUCCESS) {
var parent = activeWindow();
if ($.common.isEmpty(parent.table)) {
$.modal.msgSuccessReload(result.msg);
$.modal.msgSuccessReload(result.msg);
} else if (parent.table.options.type == table_type.bootstrapTable) {
$.modal.close();
parent.$.modal.msgSuccess(result.msg);
parent.$.table.refresh();
} else if (parent.table.options.type == table_type.bootstrapTreeTable) {
$.modal.close();
parent.$.modal.msgSuccess(result.msg);
parent.$.treeTable.refresh();
} else {
parent.$.modal.msgSuccess(result.msg);
}
$.modal.close();
} else if (result.code == web_status.WARNING) {
$.modal.alertWarning(result.msg)
} else {