mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 19:19:26 +08:00
修复本地模式排序头状态失效
This commit is contained in:
parent
988bdf09bc
commit
7d0413fbb6
@ -235,7 +235,6 @@ export default React.createClass({
|
||||
|
||||
renderColumnsDropdown(columns) {
|
||||
return columns.map((column) => {
|
||||
column = objectAssign({}, column);
|
||||
let key = this.getColumnKey(column);
|
||||
let filterDropdown, menus, sortButton;
|
||||
if (column.filters && column.filters.length > 0) {
|
||||
@ -270,9 +269,11 @@ export default React.createClass({
|
||||
</span>
|
||||
</div>;
|
||||
}
|
||||
let originalTitle = column.title;
|
||||
if (!column.originalTitle) {
|
||||
column.originalTitle = column.title;
|
||||
}
|
||||
column.title = [
|
||||
originalTitle,
|
||||
column.originalTitle,
|
||||
sortButton,
|
||||
filterDropdown
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user