Table: support sort-by#7828
Merged
Leopoldthecoder merged 4 commits intoElemeFE:devfrom Oct 31, 2017
wangfengming:table_sort_by
Merged
Table: support sort-by#7828Leopoldthecoder merged 4 commits intoElemeFE:devfrom wangfengming:table_sort_by
Leopoldthecoder merged 4 commits intoElemeFE:devfrom
wangfengming:table_sort_by
Conversation
Contributor
Author
|
使用
但使用 <el-table-column prop="status_title" sort-by="status_code"></el-table-column> |
Contributor
|
sort 相关的测试挂了,可以看一下 |
Contributor
Author
|
好奇怪,我本机跑测试,每次到radio那里就会停下来。感觉没安装好。 |
Contributor
Author
Contributor
|
可以继续提交,我打开了 |
Contributor
Author
Leopoldthecoder
approved these changes
Oct 31, 2017
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Please make sure these boxes are checked before submitting your PR, thank you!
Make sure you follow Element's contributing guide (中文 | English).
Make sure you are merging your commits to
devbranch.Add some descriptions and refer relative issues for you PR.
Table 支持按
sort-by排序,如对status_title列排序时,按照status_code排序:Array.prototype.sort没有考虑排序的稳定性,修复该问题getValueByPath方法,现在只会对每个 item 调用getValueByPath一次