kkt-daterange
Options
- :placeholder 默认显示的提示
- :split 区间日期分隔符
- :sep 分隔符
<template>
<input :value="value">
<kkt-daterange style="width: 100px;" :value.sync="value" split=" ~ " placeholder="时段"></kkt-daterange>
</template>
<script>
import KktDaterange from './kkt-daterange'
export default {
components: {
KktDaterange
},
data () {
return {
value: ""
}
}
}
</script>