2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-08 22:12:28 +03:00

feat: add the slot footer slot-scope to confirm event

This commit is contained in:
mxie
2018-06-23 10:36:13 +08:00
parent ac958d4c35
commit 43d9fd754c
+1 -1
View File
@@ -84,7 +84,7 @@
@select-date="selectEndDate"
@select-time="selectEndTime"></calendar-panel>
</div>
<slot name="footer">
<slot name="footer" :confirm="confirmDate">
<div class="mx-datepicker-footer"
v-if="confirm">
<button type="button"