|
|
|
@ -159,7 +159,7 @@ export default class TransferList extends React.Component<TransferListProps, any
|
|
|
|
|
);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
let unit = '条';
|
|
|
|
|
let unit = '';
|
|
|
|
|
const antLocale = this.context.antLocale;
|
|
|
|
|
if (antLocale && antLocale.Transfer) {
|
|
|
|
|
const transferLocale = antLocale.Transfer;
|
|
|
|
@ -197,7 +197,7 @@ export default class TransferList extends React.Component<TransferListProps, any
|
|
|
|
|
<Search prefixCls={`${prefixCls}-search`}
|
|
|
|
|
onChange={this.handleFilter}
|
|
|
|
|
handleClear={this.handleClear}
|
|
|
|
|
placeholder={searchPlaceholder || '请输入搜索内容'}
|
|
|
|
|
placeholder={searchPlaceholder || 'Search'}
|
|
|
|
|
value={filter}
|
|
|
|
|
/>
|
|
|
|
|
</div> : null}
|
|
|
|
@ -209,7 +209,7 @@ export default class TransferList extends React.Component<TransferListProps, any
|
|
|
|
|
>
|
|
|
|
|
{showItems.length > 0
|
|
|
|
|
? showItems
|
|
|
|
|
: <div key="not-found" className={`${prefixCls}-body-not-found`}>{notFoundContent || '列表为空'}</div>}
|
|
|
|
|
: <div key="not-found" className={`${prefixCls}-body-not-found`}>{notFoundContent || 'Not Found'}</div>}
|
|
|
|
|
</Animate>
|
|
|
|
|
</div>}
|
|
|
|
|
{footerDom ? <div className={`${prefixCls}-footer`}>
|
|
|
|
|