Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table组件的本地排序没效果 #28

Open
getlinerm opened this issue Apr 28, 2017 · 2 comments
Open

Table组件的本地排序没效果 #28

getlinerm opened this issue Apr 28, 2017 · 2 comments

Comments

@getlinerm
Copy link

这是没实现吗?
sortAction (column, index, order) {
if (typeof column.sorter === 'function') {
// TODO:客户端排序
}
this.sorderOrder[index] = order
this.sorderOrder = Object.assign([], this.sorderOrder)
this.$emit('table-change', this.pagination, this.filters, {
field: column.dataIndex,
order: order
})
},

@chaoren1641
Copy link
Member

嗯是的,内部项目中目前还没有此类需求,所以还没实现,欢迎贡献 : )

@getlinerm
Copy link
Author

好的,已pull request

Cyrilszq added a commit that referenced this issue Jul 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants