From 75b2aea2a517cd1652da29983e7842cda547a3ea Mon Sep 17 00:00:00 2001 From: HRK <119110706+18148764734@users.noreply.github.com> Date: Wed, 24 Jan 2024 15:50:01 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E8=A1=A5=E5=85=85uni-calendar=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/component/uniui/uni-calendar.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/component/uniui/uni-calendar.md b/docs/component/uniui/uni-calendar.md index 878427486..59392867b 100644 --- a/docs/component/uniui/uni-calendar.md +++ b/docs/component/uniui/uni-calendar.md @@ -83,6 +83,14 @@ export default { | selected|Array|-| 打点,期待格式[{date: '2019-06-27', info: '签到', data: { custom: '自定义信息', name: '自定义消息头',xxx:xxx... }}]| |showMonth |Boolean|true| 是否显示月份为背景| +### DataSelect Events + +| 事件名 | 事件说明 | 返回参数 | +| :-----: | :--------------------: | :------: | +| @change | 仅插入模式时生效 日期改变时触发 | {"year":2024,"month":2,"date":24} | +| @confirm | 仅弹出模式时生效 确认选择时触发 | {"year":2024,"month":2,"date":24} | +| @monthSwitch | 切换月份时触发 | {"year":2024,"month":2} | + ### Calendar Methods |方法名|说明|返回值| -- GitLab