Skip to content

Commit

Permalink
doc(selector): add disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
xxyan0205 committed Jan 21, 2019
1 parent d0af4fb commit bab3c15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/selector/README.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Vue.component(Selector.name, Selector)
|Props | Description | Type | Default | Note|
|----|-----|------|------|------|
|v-model|display selector or not|Boolean|false|-|
|data|data source|Array<{value,text,...}>|`[]`|`text` can be a `html` fragment|
|data|data source|Array<{value,text,disabled,...}>|`[]`|`text` can be a `html` fragment|
|default-value|the value of initially selected item|String|-|-|
|title|title of selector|String|-|-|
|describe|description of selector|String|-|-|
Expand Down
2 changes: 1 addition & 1 deletion components/selector/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Vue.component(Selector.name, Selector)
|属性 | 说明 | 类型 | 默认值 | 备注|
|----|-----|------|------|------|
|v-model|选择器是否可见|Boolean|false|-|
|data|数据源|Array<{value,text,...}>|`[]`|`text`可为`html`片段|
|data|数据源|Array<{value,text,disabled,...}>|`[]`|`text`可为`html`片段|
|default-value|选择器初始选中项的值|String|-|-|
|title|选择器标题|String|-|-|
|describe|选择器描述|String|-|-|
Expand Down

0 comments on commit bab3c15

Please sign in to comment.