diff --git a/components/transfer/index.en-US.md b/components/transfer/index.en-US.md index f28497cd2..0018ec911 100644 --- a/components/transfer/index.en-US.md +++ b/components/transfer/index.en-US.md @@ -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' | diff --git a/components/transfer/index.zh-CN.md b/components/transfer/index.zh-CN.md index da850c551..3f6cec667 100644 --- a/components/transfer/index.zh-CN.md +++ b/components/transfer/index.zh-CN.md @@ -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 | '请输入搜索内容' |