Browse Source

Pull request #1732: 无JIRA任务 打包报错

Merge in VISUAL/fineui from ~WINDY/fui:master to master

* commit '70c1ccc33c111e0e6c8572b6168b1a1165e87d46':
  无JIRA任务 打包报错
master
windy 4 years ago
parent
commit
93bc6c1ab7
  1. 3
      src/widget/year/card.dynamic.year.js
  2. 2
      src/widget/yearmonth/card.dynamic.yearmonth.js
  3. 2
      src/widget/yearquarter/card.dynamic.yearquarter.js

3
src/widget/year/card.dynamic.year.js

@ -31,8 +31,7 @@ BI.DynamicYearCard = BI.inherit(BI.Widget, {
var end = BI.parseDateTime(o.max, "%Y-%X-%d"); var end = BI.parseDateTime(o.max, "%Y-%X-%d");
return BI.i18nText("BI-Basic_Year_Range_Error", return BI.i18nText("BI-Basic_Year_Range_Error",
start.getFullYear(), start.getFullYear(),
end.getFullYear(), end.getFullYear());
);
}, },
listeners: [{ listeners: [{
eventName: "EVENT_CHANGE", eventName: "EVENT_CHANGE",

2
src/widget/yearmonth/card.dynamic.yearmonth.js

@ -61,7 +61,7 @@ BI.DynamicYearMonthCard = BI.inherit(BI.Widget, {
start.getFullYear(), start.getFullYear(),
start.getMonth() + 1, start.getMonth() + 1,
end.getFullYear(), end.getFullYear(),
end.getMonth() + 1, end.getMonth() + 1
); );
}, },

2
src/widget/yearquarter/card.dynamic.yearquarter.js

@ -61,7 +61,7 @@ BI.DynamicYearQuarterCard = BI.inherit(BI.Widget, {
start.getFullYear(), start.getFullYear(),
BI.getQuarter(start), BI.getQuarter(start),
end.getFullYear(), end.getFullYear(),
BI.getQuarter(end), BI.getQuarter(end)
); );
}, },

Loading…
Cancel
Save