Pre Merge pull request !193 from 青衫/master

This commit is contained in:
青衫 2020-07-30 10:41:47 +08:00 committed by Gitee
commit 80fe418304
1 changed files with 2 additions and 1 deletions

View File

@ -622,7 +622,8 @@ var table = {
table.set(tableId);
var currentId = $.common.isEmpty(formId) ? $('form').attr('id') : formId;
$("#" + currentId)[0].reset();
if (table.options.type == table_type.bootstrapTable) {
$("#" + currentId).find('select').val('').trigger('change');
if (table.options.type == table_type.bootstrapTable) {
if($.common.isEmpty(tableId)){
$("#" + table.options.id).bootstrapTable('refresh');
} else{