From 70c1ccc33c111e0e6c8572b6168b1a1165e87d46 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Fri, 8 Jan 2021 09:26:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=E4=BB=BB=E5=8A=A1=20=E6=89=93?= =?UTF-8?q?=E5=8C=85=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/widget/year/card.dynamic.year.js | 3 +-- src/widget/yearmonth/card.dynamic.yearmonth.js | 2 +- src/widget/yearquarter/card.dynamic.yearquarter.js | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/widget/year/card.dynamic.year.js b/src/widget/year/card.dynamic.year.js index bc7506137e..cf2d83ad63 100644 --- a/src/widget/year/card.dynamic.year.js +++ b/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"); return BI.i18nText("BI-Basic_Year_Range_Error", start.getFullYear(), - end.getFullYear(), - ); + end.getFullYear()); }, listeners: [{ eventName: "EVENT_CHANGE", diff --git a/src/widget/yearmonth/card.dynamic.yearmonth.js b/src/widget/yearmonth/card.dynamic.yearmonth.js index cbc41b1b87..7edd5a7f9c 100644 --- a/src/widget/yearmonth/card.dynamic.yearmonth.js +++ b/src/widget/yearmonth/card.dynamic.yearmonth.js @@ -61,7 +61,7 @@ BI.DynamicYearMonthCard = BI.inherit(BI.Widget, { start.getFullYear(), start.getMonth() + 1, end.getFullYear(), - end.getMonth() + 1, + end.getMonth() + 1 ); }, diff --git a/src/widget/yearquarter/card.dynamic.yearquarter.js b/src/widget/yearquarter/card.dynamic.yearquarter.js index f9837ee216..d0d8ca844d 100644 --- a/src/widget/yearquarter/card.dynamic.yearquarter.js +++ b/src/widget/yearquarter/card.dynamic.yearquarter.js @@ -61,7 +61,7 @@ BI.DynamicYearQuarterCard = BI.inherit(BI.Widget, { start.getFullYear(), BI.getQuarter(start), end.getFullYear(), - BI.getQuarter(end), + BI.getQuarter(end) ); },