dcloudio / uni-ui

基于uni-app的、全端兼容的、高性能UI框架

Home Page:https://uniapp.dcloud.io/component/uniui/uni-ui.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

uni-calendar 弹窗模式下选择日期区间,没有设置默认选中的功能。

dootexto opened this issue · comments

commented

默认选中是指给calendar赋一个默认值吗

弹窗模式如图:
image
默认是指 选择日期范围的时候默认选中一个范围

commented

感谢你的反馈,目前calendar功能更注重于进行单日期查询,如果需要对区间进行默认选择,推荐使用uni-datetime-picker,本质也是用的calendar
https://uniapp.dcloud.net.cn/component/uniui/uni-datetime-picker.html