diff --git a/client/packages/lowcoder-comps/src/comps/calendarComp/calendarComp.tsx b/client/packages/lowcoder-comps/src/comps/calendarComp/calendarComp.tsx
index 0b3dc5bdb..37c15507f 100644
--- a/client/packages/lowcoder-comps/src/comps/calendarComp/calendarComp.tsx
+++ b/client/packages/lowcoder-comps/src/comps/calendarComp/calendarComp.tsx
@@ -125,6 +125,7 @@ let CalendarBasicComp = (function () {
isList={isList}
bg={eventInfo.backgroundColor}
theme={theme?.theme}
+ allDay={showAllDay}
$style={props.style}
>
{eventInfo.timeText}
diff --git a/client/packages/lowcoder-comps/src/comps/calendarComp/calendarConstants.tsx b/client/packages/lowcoder-comps/src/comps/calendarComp/calendarConstants.tsx
index 907780f74..0e33adf1e 100644
--- a/client/packages/lowcoder-comps/src/comps/calendarComp/calendarConstants.tsx
+++ b/client/packages/lowcoder-comps/src/comps/calendarComp/calendarConstants.tsx
@@ -388,7 +388,7 @@ export const Wrapper = styled.div<{
.fc-scrollgrid-liquid > tbody {
& > tr:nth-of-type(2) {
- display: none;
+ display: ${(props) => props.allDay && 1};
}
}
.fc .fc-timegrid-slot-label-cushion {
@@ -639,6 +639,7 @@ export const Event = styled.div<{
bg: string;
theme: Object;
isList: boolean;
+ allDay: boolean;
$style: CalendarStyleType;
}>`
height: 100%;