We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is your feature request related to a problem? Please describe. 使用表格生成器新增组件时,无法看到效果 Describe the solution you'd like 希望表头名称有默认值,另外有开放api开放兜底数据
The text was updated successfully, but these errors were encountered:
可以通过 Generator 的自定义属性面板功能来实现 示例代码如下: { 'ui:type': 'text', type: 'string', group: '基础组件库', fieldKey: 'mock_builtin_text', title: '内置文本', attrSchema: [ { name: 'title', group: '组件属性', 'ui:title': '表头名称', 'ui:type': 'text', type: 'string', default: '文本', }, { name: 'options.defaultValue', group: '组件属性', 'ui:title': '兜底文案', 'ui:type': 'input', 'ui:description': { trigger: 'hover', type: 'icon', title: '当数据不下发时展示的兜底文案', }, default: '文案', }, ] } 具体参考文档链接:https://drip-table.jd.com/drip-table-generator/props/custom-component-panel
{ 'ui:type': 'text', type: 'string', group: '基础组件库', fieldKey: 'mock_builtin_text', title: '内置文本', attrSchema: [ { name: 'title', group: '组件属性', 'ui:title': '表头名称', 'ui:type': 'text', type: 'string', default: '文本', }, { name: 'options.defaultValue', group: '组件属性', 'ui:title': '兜底文案', 'ui:type': 'input', 'ui:description': { trigger: 'hover', type: 'icon', title: '当数据不下发时展示的兜底文案', }, default: '文案', }, ] }
Sorry, something went wrong.
renwenci
No branches or pull requests
Is your feature request related to a problem? Please describe.
![image](https://user-images.githubusercontent.com/14011130/179479467-ab07d2fa-c93b-4521-b4a8-0f0e871ba5f0.png)
使用表格生成器新增组件时,无法看到效果
Describe the solution you'd like
希望表头名称有默认值,另外有开放api开放兜底数据
The text was updated successfully, but these errors were encountered: