mirror of https://gitee.com/karson/fastadmin.git
parent
b9d55fca25
commit
a3a5707cdd
|
|
@ -95,7 +95,7 @@
|
|||
searchList = ret;
|
||||
}
|
||||
var optionList = createOptionList(searchList, vObjCol, that);
|
||||
$("form.form-commonsearch select[name='" + vObjCol.field + "']", that.$container).html(optionList.join(''));
|
||||
$("form.form-commonsearch select[name='" + vObjCol.field + "']", that.$container).html(optionList.join('')).trigger("change");
|
||||
});
|
||||
})(vObjCol, that);
|
||||
} else {
|
||||
|
|
@ -292,7 +292,7 @@
|
|||
this.$header.find('th[data-field]').each(function (i) {
|
||||
var column = $(this).data();
|
||||
if (typeof column['width'] !== 'undefined') {
|
||||
$(this).css("min-width", column['width']);
|
||||
$(this).css("max-width", column['width']);
|
||||
}
|
||||
});
|
||||
this.options.stateField = this.header.stateField;
|
||||
|
|
|
|||
|
|
@ -10627,7 +10627,7 @@ define('form',['jquery', 'bootstrap', 'upload', 'validator'], function ($, undef
|
|||
searchList = ret;
|
||||
}
|
||||
var optionList = createOptionList(searchList, vObjCol, that);
|
||||
$("form.form-commonsearch select[name='" + vObjCol.field + "']", that.$container).html(optionList.join(''));
|
||||
$("form.form-commonsearch select[name='" + vObjCol.field + "']", that.$container).html(optionList.join('')).trigger("change");
|
||||
});
|
||||
})(vObjCol, that);
|
||||
} else {
|
||||
|
|
@ -10824,7 +10824,7 @@ define('form',['jquery', 'bootstrap', 'upload', 'validator'], function ($, undef
|
|||
this.$header.find('th[data-field]').each(function (i) {
|
||||
var column = $(this).data();
|
||||
if (typeof column['width'] !== 'undefined') {
|
||||
$(this).css("min-width", column['width']);
|
||||
$(this).css("max-width", column['width']);
|
||||
}
|
||||
});
|
||||
this.options.stateField = this.header.stateField;
|
||||
|
|
|
|||
Loading…
Reference in New Issue