<template>
<Row>
<Col span="12">
<DatePicker @on-change='handleChange' type="daterange" confirm placement="bottom-end" placeholder="Select date" style="width: 200px"></DatePicker>
</Col>
</Row>
</template>
<script>
export default {
data:{
value:''
},{
methods:{
handleChange(daterange){
this.value=daterange;//这样value的值就是日期
}
}
}
}
</script>