Skip to content

Commit b6ca863

Browse files
author
wu
committed
update
1 parent 1362826 commit b6ca863

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ cxSelectApi.setOptions();
9797
名称|默认值|说明
9898
---|---|---
9999
selects|[]|下拉选框组。<br>输入 select 的 className
100-
url|null|整合数据接口地址(URL);<br>每个选框的内容使用各自的接口地址,详见 [DEMO](http://code.ciaoca.com/jquery/cxselect/demo/oneself.html)
101-
data|null|自定义数据,类型为数组,使用 JSON 格式。[DEMO](http://code.ciaoca.com/jquery/cxselect/demo/custom.html)
100+
url|null|整合数据接口地址(URL);<br>每个选框的内容使用各自的接口地址,详见 [DEMO](http://code.ciaoca.com/jquery/cxSelect/demo/oneself.html)
101+
data|null|自定义数据,类型为数组,使用 JSON 格式。[DEMO](http://code.ciaoca.com/jquery/cxSelect/demo/custom.html)
102102
emptyStyle|null|子集无数据时 select 元素的显示状态。<br>可设置为:**"none"**(display:none), **"hidden"**(visibility:hidden)
103103
required|false|是否为必选。<br>设为 `false` 时,会在列表头部添加 `<option value="firstValue">firstTitle</option>` 选项。
104104
firstTitle|'请选择'|选框第一个项目的标题(仅在 `required``false` 时有效)
@@ -157,11 +157,11 @@ setOptions(settings)|重新设置参数。<br>`settings`: 与调用时参数一
157157
## 自定义数据及使用纯数组数据
158158
可以使用任何类型的数据作为值,但最终都会被转化为文本。
159159

160-
[自定义数据 DEMO](http://code.ciaoca.com/jquery/cxselect/demo/custom.html)
160+
[自定义数据 DEMO](http://code.ciaoca.com/jquery/cxSelect/demo/custom.html)
161161

162162

163163
## 各选项数据接口独立
164164
可以为每个```select```设置一个接口,根据接口返回的数据结构,设置```json-space``````json-name``````json-value```适应 JSON 结构(包括纯数组)。
165165
当页面加载时,第一个选框已有选项数据,可以不设置第一个选框的接口。
166166

167-
[独立接口 DEMO](http://code.ciaoca.com/jquery/cxselect/demo/oneself.html)
167+
[独立接口 DEMO](http://code.ciaoca.com/jquery/cxSelect/demo/oneself.html)

0 commit comments

Comments
 (0)