// 日期选择组件
<template>
    <el-date-picker
        v-bind="$attrs"
        v-on="$listeners"
        type="date"
        placeholder="选择日期"
        :value-format="valueFormat"
    >
    </el-date-picker>
</template>
<script>
export default {
    name: 'BaseDatePicker',
    props: {
        valueFormat: {
            type: String,
            default: 'yyyy-MM-dd'
        }
    }
}
</script>
<style scoped></style>
