ajaxSuccess判断修正

This commit is contained in:
RuoYi
2020-06-18 13:33:54 +08:00
parent 92d7c18879
commit 9c763dceab
2 changed files with 2 additions and 2 deletions

View File

@ -1136,7 +1136,7 @@ var table = {
} else if (result.code == web_status.SUCCESS && table.options.type == table_type.bootstrapTreeTable) {
$.modal.msgSuccess(result.msg);
$.treeTable.refresh();
} else if (result.code == web_status.SUCCESS && table.option.type == undefined) {
} else if (result.code == web_status.SUCCESS && $.common.isEmpty(table.options.type)) {
$.modal.msgSuccess(result.msg)
} else if (result.code == web_status.WARNING) {
$.modal.alertWarning(result.msg)