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