Browse Source

Merge pull request #1197 in VISUAL/fineui from ~WINDY/fineui:master to master

* commit '870f823aeb1256fb352fec4dc4f2328a1b896ee6':
  KERNEL-2278 fix: 测试的一些问题修复
es6
windy 5 years ago
parent
commit
a58f21c8e1
  1. 2
      src/widget/dynamicdate/dynamicdate.combo.js
  2. 2
      src/widget/dynamicdatetime/dynamicdatetime.combo.js

2
src/widget/dynamicdate/dynamicdate.combo.js

@ -273,12 +273,14 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, {
var o = this.options; var o = this.options;
o.minDate = minDate; o.minDate = minDate;
this.trigger.setMinDate(minDate); this.trigger.setMinDate(minDate);
this.popup && this.popup.setMinDate(minDate);
}, },
setMaxDate: function (maxDate) { setMaxDate: function (maxDate) {
var o = this.options; var o = this.options;
o.maxDate = maxDate; o.maxDate = maxDate;
this.trigger.setMaxDate(maxDate); this.trigger.setMaxDate(maxDate);
this.popup && this.popup.setMaxDate(maxDate);
}, },
setValue: function (v) { setValue: function (v) {

2
src/widget/dynamicdatetime/dynamicdatetime.combo.js

@ -275,12 +275,14 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, {
var o = this.options; var o = this.options;
o.minDate = minDate; o.minDate = minDate;
this.trigger.setMinDate(minDate); this.trigger.setMinDate(minDate);
this.popup && this.popup.setMinDate(minDate);
}, },
setMaxDate: function (maxDate) { setMaxDate: function (maxDate) {
var o = this.options; var o = this.options;
o.maxDate = maxDate; o.maxDate = maxDate;
this.trigger.setMaxDate(maxDate); this.trigger.setMaxDate(maxDate);
this.popup && this.popup.setMaxDate(maxDate);
}, },
setValue: function (v) { setValue: function (v) {

Loading…
Cancel
Save