fix: weekpicker can not custom trigger picker #1915

pull/1918/head
tangjinzhou 2020-03-21 16:14:33 +08:00
parent 749d74e21f
commit a87f5564cc
1 changed files with 2 additions and 1 deletions

View File

@ -224,10 +224,11 @@ export default {
openChange: this.handleOpenChange, openChange: this.handleOpenChange,
}, },
style: popupStyle, style: popupStyle,
scopedSlots: { default: input, ...$scopedSlots },
}; };
return ( return (
<span class={pickerClass}> <span class={pickerClass}>
<VcDatePicker {...vcDatePickerProps}>{input}</VcDatePicker> <VcDatePicker {...vcDatePickerProps} />
</span> </span>
); );
}, },