feat(Calendar): add top-info、bottom-info slot (#8716)

This commit is contained in:
neverland
2021-05-18 10:09:02 +08:00
committed by GitHub
parent c0fa715cf4
commit db41f5ad44
7 changed files with 82 additions and 21 deletions
+1
View File
@@ -416,6 +416,7 @@ export default defineComponent({
const showMonthTitle = index !== 0 || !props.showSubtitle;
return (
<CalendarMonth
v-slots={pick(slots, ['top-info', 'bottom-info'])}
ref={setMonthRefs(index)}
date={date}
currentDate={state.currentDate}