Browse Source

KERNEL-2278 fix: 测试的一些问题修复

es6
windy 5 years ago
parent
commit
870f823aeb
  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;
o.minDate = minDate;
this.trigger.setMinDate(minDate);
this.popup && this.popup.setMinDate(minDate);
},
setMaxDate: function (maxDate) {
var o = this.options;
o.maxDate = maxDate;
this.trigger.setMaxDate(maxDate);
this.popup && this.popup.setMaxDate(maxDate);
},
setValue: function (v) {

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

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

Loading…
Cancel
Save