Fix operations typo of Transfer, close #6401

This commit is contained in:
afc163
2017-06-08 10:37:08 +08:00
parent d9c0d10e43
commit 448a3ff4dd
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ One or more elements can be selected from either column, one click on the proper
| listStyle | A custom CSS style used for rendering the transfer columns. | object | |
| className | A custom CSS class. | string | ['', ''] |
| titles | A set of titles that are sorted from left to right. | string[] | - |
| operations | A set of operations that are sorted from top to bottom. | string[] | [] |
| operations | A set of operations that are sorted from bottom to top. | string[] | ['>', '<'] |
| showSearch | If included, a search box is shown on each column. | boolean | false |
| filterOption | A function to determine whether an item should show in search result list | (inputValue, option): boolean | |
| searchPlaceholder | The hint text of the search box. | string | 'Search here' |
+2 -2
View File
@@ -28,8 +28,8 @@ title: Transfer
| onScroll | 选项列表滚动时的回调函数 | (direction, event): void | |
| listStyle | 两个穿梭框的自定义样式 | object | |
| className | 自定义类 | string | |
| titles | 标题集合,顺序从左至右 | string[] | ['', ''] |
| operations | 操作文案集合,顺序从上至下 | string[] | [] |
| titles | 标题集合顺序从左至右 | string[] | ['', ''] |
| operations | 操作文案集合顺序从下至上 | string[] | ['>', '<'] |
| showSearch | 是否显示搜索框 | boolean | false |
| filterOption | 接收 `inputValue` `option` 两个参数,当 `option` 符合筛选条件时,应返回 `true`,反之则返回 `false`。| (inputValue, option): boolean | |
| searchPlaceholder | 搜索框的默认值 | string | '请输入搜索内容' |