修复非表格插件情况下重置出现异常

pull/126/head
RuoYi 5 years ago
parent 1bd8dd00d1
commit e4984b85f2

@ -481,7 +481,9 @@
reset: function(formId) {
var currentId = $.common.isEmpty(formId) ? $('form').attr('id') : formId;
$("#" + currentId)[0].reset();
$.btTable.bootstrapTable('refresh');
if ($.table._option.type == table_type.bootstrapTable) {
$.btTable.bootstrapTable('refresh');
}
},
// 获取选中复选框项
selectCheckeds: function(name) {

Loading…
Cancel
Save