From a05d7dd422027cc63f1ee1347d99b2804abb350b Mon Sep 17 00:00:00 2001 From: zsmj Date: Fri, 21 Oct 2022 15:53:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A0JIRA=20fix:=20=E6=97=A5=E6=9C=9F?= =?UTF-8?q?=E9=9D=A2=E6=9D=BF=E7=9A=84=E6=A0=BC=E5=AD=90=E4=B8=8D=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E6=8D=A2=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/calendar/calendar.date.item.js | 4 ++-- src/case/calendar/calendar.js | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/case/calendar/calendar.date.item.js b/src/case/calendar/calendar.date.item.js index d575b9557..3b2d865a0 100644 --- a/src/case/calendar/calendar.date.item.js +++ b/src/case/calendar/calendar.date.item.js @@ -4,8 +4,9 @@ BI.CalendarDateItem = BI.inherit(BI.BasicButton, { props: function() { return { + baseCls: "bi-calendar-date-item", height: BI.SIZE_CONSANTS.LIST_ITEM_HEIGHT + 8, - } + } }, render: function () { @@ -17,7 +18,6 @@ BI.CalendarDateItem = BI.inherit(BI.BasicButton, { type: "bi.text_item", cls: "bi-border-radius bi-list-item-select", textAlign: "center", - whiteSpace: "normal", text: o.text, value: o.value, ref: function () { diff --git a/src/case/calendar/calendar.js b/src/case/calendar/calendar.js index 5c5026d8f..bfd76e2b4 100644 --- a/src/case/calendar/calendar.js +++ b/src/case/calendar/calendar.js @@ -158,8 +158,6 @@ BI.Calendar = BI.inherit(BI.Widget, { var month = td.lastMonth ? o.month - 1 : (td.nextMonth ? o.month + 1 : o.month); return BI.extend(td, { type: "bi.calendar_date_item", - textAlign: "center", - whiteSpace: "normal", once: false, forceSelected: true, value: o.year + "-" + month + "-" + td.text,