CRUD中配置使用子对象属性后,可以正常显示,但是sortable无效
- Dominant language
- TypeScript
- Stars
- 18.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
#### 描述问题:
CRUD中配置使用子对象属性后,可以正常显示,但是sortable无效
```
// 显示正常,且sortable在UI上点击有效
{ "name": "ut", "label": "更新时间", "sortable": true, "type": "date", "format": "YYYY-MM-DD HH:mm:ss" },
// 显示正常,但sortable在UI上点击无效
{ "name": "childData.ut", "label": "更新时间", "sortable": true, "type": "date", "format": "YYYY-MM-DD HH:mm:ss" },
```
amis刚刚今天升级到2.6.0
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the CRUD table behavior with the two configurations shown: compare sorting for `name` with sorting for `childData.ut` after upgrading to amis 2.6.0. Trace the CRUD sorting entry point and determine why the nested property is displayed but not included in the sort request; done means clicking the column sorts by the child object's `ut` value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100