Browse Source

REPORT-61758 fix: 日期区间控件支持水印

es6
youki 3 years ago
parent
commit
86e3c134bf
  1. 1
      src/widget/timeinterval/dateinterval.js
  2. 1
      src/widget/timeinterval/timeinterval.js
  3. 1
      typescript/widget/timeinterval/dateinterval.ts
  4. 1
      typescript/widget/timeinterval/timeinterval.ts

1
src/widget/timeinterval/dateinterval.js

@ -73,6 +73,7 @@ BI.DateInterval = BI.inherit(BI.Single, {
minDate: o.minDate, minDate: o.minDate,
maxDate: o.maxDate, maxDate: o.maxDate,
behaviors: o.behaviors, behaviors: o.behaviors,
watermark: o.watermark,
value: v, value: v,
height: o.height, height: o.height,
listeners: [{ listeners: [{

1
src/widget/timeinterval/timeinterval.js

@ -73,6 +73,7 @@ BI.TimeInterval = BI.inherit(BI.Single, {
minDate: o.minDate, minDate: o.minDate,
maxDate: o.maxDate, maxDate: o.maxDate,
behaviors: o.behaviors, behaviors: o.behaviors,
watermark: o.watermark,
value: v, value: v,
height: o.height, height: o.height,
}); });

1
typescript/widget/timeinterval/dateinterval.ts

@ -12,6 +12,7 @@ export declare class DateInterval extends Single {
minDate?: string; minDate?: string;
maxDate?: string; maxDate?: string;
supportDynamic?: boolean; supportDynamic?: boolean;
watermark?: string;
} & Single['props'] } & Single['props']
getValue(): { getValue(): {

1
typescript/widget/timeinterval/timeinterval.ts

@ -11,6 +11,7 @@ export declare class TimeInterval extends Single {
minDate?: string; minDate?: string;
maxDate?: string; maxDate?: string;
supportDynamic?: boolean; supportDynamic?: boolean;
watermark?: string;
} & Single['props'] } & Single['props']
getValue(): { getValue(): {

Loading…
Cancel
Save