diff --git a/site/docs/spec/data/sortBy.zh.md b/site/docs/spec/data/sortBy.zh.md index 7af545b9d4..7b28dc8ffd 100644 --- a/site/docs/spec/data/sortBy.zh.md +++ b/site/docs/spec/data/sortBy.zh.md @@ -21,7 +21,7 @@ chart.data({ value: data, transform: [ { - type: 'sort', + type: 'sortBy', fields: ['sold'], // 根据 sold 字段排序 }, ],