Browse Source

无JIRA任务 打包报错

es6
windy 4 years ago
parent
commit
70c1ccc33c
  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