表单重置时,重置 hidden类型 input 值
This commit is contained in:
parent
510feabe4b
commit
345c652daf
|
|
@ -610,6 +610,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');
|
||||
|
|
|
|||
Loading…
Reference in New Issue