From 5f4d830fc52739e76c7a72b0e3d2bf5901ba2bb8 Mon Sep 17 00:00:00 2001 From: wanganxp Date: Sun, 10 Jan 2021 23:37:20 +0800 Subject: [PATCH] Update checkbox.md --- docs/component/checkbox.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/component/checkbox.md b/docs/component/checkbox.md index d17a0c00c..9a2412dfb 100644 --- a/docs/component/checkbox.md +++ b/docs/component/checkbox.md @@ -133,4 +133,6 @@ **注意** - checkbox的默认颜色,在不同平台不一样。微信小程序、360小程序是绿色的,字节跳动小程序为红色,其他平台是蓝色的。更改颜色使用color属性。 - 如需调节checkbox大小,可通过css的scale方法调节,如缩小到70%`style="transform:scale(0.7)"` + +**扩展** - uni-ui提供了增强的uni-data-checkbox组件,基于[datacom规范](/component/datacom),只需传入data数据,即可自动生成一组复选框,使用方式更简洁,并且支持[uni-forms](https://ext.dcloud.net.cn/plugin?id=2773)的表单验证。uni-data-checkbox组件详见[https://ext.dcloud.net.cn/plugin?id=3456](https://ext.dcloud.net.cn/plugin?id=3456) -- GitLab