Pre Merge pull request !207 from Yifu/master

This commit is contained in:
Yifu 2020-10-10 16:26:52 +08:00 committed by Gitee
commit 688387ab09
1 changed files with 1 additions and 0 deletions

View File

@ -619,6 +619,7 @@ var table = {
table.set(tableId);
var currentId = $.common.isEmpty(formId) ? $('form').attr('id') : formId;
$("#" + currentId)[0].reset();
$("#" + currentId + " input[type='hidden']").val("");
if (table.options.type == table_type.bootstrapTable) {
if($.common.isEmpty(tableId)){
$("#" + table.options.id).bootstrapTable('refresh');