Skip to content

Commit

Permalink
fix: 文档中的sort->sortBy (#4876)
Browse files Browse the repository at this point in the history
Co-authored-by: xujingli.xjl <xujingli.xjl@antgroup.com>
  • Loading branch information
xujingli and xujingli authored Apr 7, 2023
1 parent 10cca54 commit f2a53a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/docs/spec/data/sortBy.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ chart.data({
value: data,
transform: [
{
type: 'sort',
type: 'sortBy',
fields: ['sold'], // 根据 sold 字段排序
},
],
Expand Down

0 comments on commit f2a53a9

Please sign in to comment.