Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ciaoca authored Feb 23, 2022
1 parent 9afc119 commit c4cf381
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# cxPicker

cxPicker 是基于 JavaScript 的联级选择器插件,支持单列、多列、联动等多种数据格式。
cxPicker 是适用于移动端 web 的联级选择器插件,支持单列、多列、联动等多种数据格式。

原生 JavaScript 编写,不依赖其他库或框架。



Expand Down Expand Up @@ -38,7 +40,7 @@ cxPicker({
['b1', 'b2'],
// 更多列选项
],
value: ['a1','b2'], // 可选参数,选择器的默认值
value: ['a1', 'b2'], // 可选参数,选择器的默认值
callback: function(result) {
console.log(result);
}
Expand Down Expand Up @@ -151,7 +153,7 @@ cxPicker({
{n:'4月', v:4, s:[1, 2, .., 30]},
...
],
[1, 2, 3, .., 31], // × 这组数据会被忽略
[1, 2, 3, .., 31], // × 注意:这组数据会被忽略
]
})
```
Expand Down

0 comments on commit c4cf381

Please sign in to comment.