Skip to content

Commit 8d5704e

Browse files
committed
fix(calendar): day of week slot
1 parent 97db465 commit 8d5704e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/components/core/calendar.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,9 @@
3939
>
4040
<template
4141
slot="day-of-week"
42-
slot-scope="wd, index">
43-
42+
slot-scope="{wd, index}">
4443
<slot
45-
v-bind="wd, index"
44+
v-bind="{wd, index}"
4645
name="day-of-week">
4746
{{ wd }}
4847
</slot>

src/components/core/month.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
class="col">
1313
<div class="vuec-week-content">
1414
<slot
15-
v-bind="wd, index"
15+
v-bind="{wd, index}"
1616
name="day-of-week">
1717
{{ wd }}
1818
</slot>

0 commit comments

Comments
 (0)