mirror of
https://github.com/yangzongzhuan/RuoYi.git
synced 2025-10-15 10:08:26 +00:00
修复successCallback方法对于非特定表格类型无响应问题(IBG6ZD)
This commit is contained in:
@@ -1321,14 +1321,15 @@ var table = {
|
||||
if ($.common.isEmpty(parent.table)) {
|
||||
$.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 {
|
||||
|
Reference in New Issue
Block a user