CURD组件的列标题支持调用自定义函数,但表格2.0的列标题不支持!!!
- Dominant language
- TypeScript
- Stars
- 18.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
#### 描述问题:
CRUD组件的列标题支持调用自定义函数,通过通过调用指定的函数根据 key 动态获取多语言标题,编辑器及SDK均正常。
但编辑器及SDK都不支持表格2.0列标题调用自定义函数!!!
#### 截图或视频:
${t('system.uom.column.uomCategory')} 返回的值为:“类别”。
CRUD支持自定义函数

表格2.0不支持自定义函数

#### 如何复现(请务必完整填写下面内容):
1. 你是如何使用 amis 的?
npm
2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在
6.1.0
3. 粘贴有问题的完整 `amis schema` 代码:
```
code here...
```
4. 操作步骤
请简单描述一下复现的操作步骤...
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names CRUD, Table 2.0, the editor, SDK, and the ${t('system.uom.column.uomCategory')} column-title expression, but provides no complete schema, file, or test. Start by reproducing the difference between CRUD and Table 2.0 with the stated expression; done means Table 2.0 supports the same dynamic localized column title in both the editor and SDK.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, internationalization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100