From 83d6e63d578264fc112ed5bd4091aecb56134311 Mon Sep 17 00:00:00 2001 From: iapyang Date: Thu, 26 Apr 2018 17:31:11 +0800 Subject: [PATCH] update --- dist/bundle.js | 4 +++- dist/widget.js | 4 +++- src/widget/yearquarter/card.static.yearquarter.js | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/dist/bundle.js b/dist/bundle.js index 793bedabe..ebd00ea14 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -109392,6 +109392,7 @@ BI.shortcut("bi.dynamic_year_quarter_card", BI.DynamicYearQuarterCard);BI.Static ref: function () { self.yearPicker = this; }, + behaviors: o.behaviors, height: 30, listeners: [{ eventName: BI.YearPicker.EVENT_CHANGE, @@ -109455,7 +109456,8 @@ BI.shortcut("bi.dynamic_year_quarter_card", BI.DynamicYearQuarterCard);BI.Static } }); BI.StaticYearQuarterCard.EVENT_CHANGE = "EVENT_CHANGE"; -BI.shortcut("bi.static_year_quarter_card", BI.StaticYearQuarterCard);BI.DynamicYearQuarterCombo = BI.inherit(BI.Widget, { +BI.shortcut("bi.static_year_quarter_card", BI.StaticYearQuarterCard); +BI.DynamicYearQuarterCombo = BI.inherit(BI.Widget, { props: { baseCls: "bi-year-quarter-combo bi-border", diff --git a/dist/widget.js b/dist/widget.js index 3136d6793..afc2b32ce 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -22233,6 +22233,7 @@ BI.shortcut("bi.dynamic_year_quarter_card", BI.DynamicYearQuarterCard);BI.Static ref: function () { self.yearPicker = this; }, + behaviors: o.behaviors, height: 30, listeners: [{ eventName: BI.YearPicker.EVENT_CHANGE, @@ -22296,7 +22297,8 @@ BI.shortcut("bi.dynamic_year_quarter_card", BI.DynamicYearQuarterCard);BI.Static } }); BI.StaticYearQuarterCard.EVENT_CHANGE = "EVENT_CHANGE"; -BI.shortcut("bi.static_year_quarter_card", BI.StaticYearQuarterCard);BI.DynamicYearQuarterCombo = BI.inherit(BI.Widget, { +BI.shortcut("bi.static_year_quarter_card", BI.StaticYearQuarterCard); +BI.DynamicYearQuarterCombo = BI.inherit(BI.Widget, { props: { baseCls: "bi-year-quarter-combo bi-border", diff --git a/src/widget/yearquarter/card.static.yearquarter.js b/src/widget/yearquarter/card.static.yearquarter.js index 8e0fc27fa..1d2793784 100644 --- a/src/widget/yearquarter/card.static.yearquarter.js +++ b/src/widget/yearquarter/card.static.yearquarter.js @@ -42,6 +42,7 @@ BI.StaticYearQuarterCard = BI.inherit(BI.Widget, { ref: function () { self.yearPicker = this; }, + behaviors: o.behaviors, height: 30, listeners: [{ eventName: BI.YearPicker.EVENT_CHANGE, @@ -105,4 +106,4 @@ BI.StaticYearQuarterCard = BI.inherit(BI.Widget, { } }); BI.StaticYearQuarterCard.EVENT_CHANGE = "EVENT_CHANGE"; -BI.shortcut("bi.static_year_quarter_card", BI.StaticYearQuarterCard); \ No newline at end of file +BI.shortcut("bi.static_year_quarter_card", BI.StaticYearQuarterCard);