Skip to content

Commit 417887a

Browse files
committed
fix: 还是保留参数吧
1 parent 42ba37d commit 417887a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/packages/calendar/calendar.taro.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ const defaultProps = {
3030
renderDayTop: undefined,
3131
renderDayBottom: undefined,
3232
onClose: () => {},
33-
onConfirm: () => {},
34-
onDayClick: () => {},
35-
onPageChange: () => {},
33+
onConfirm: (param: string) => {},
34+
onDayClick: (data: string[]) => {},
35+
onPageChange: (param: string) => {},
3636
} as TaroCalendarProps
3737

3838
export const Calendar = React.forwardRef<

0 commit comments

Comments
 (0)