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
No description provided.
The text was updated successfully, but these errors were encountered:
1、可通过配置列表的expand: {}来展开表单的字段 2、默认展开项需要通过props['row-key']和props.['expand-row-keys']来实现
{ type: 'list', ... // 配置展开表单展示的字段 expand: { id: true, testText: true, testTextarea: true, testDate: true, testSwitch: true }, // 设置展开项 props: { // 设置每行的rowkey为当前行的id 'row-key': function(row) { return row.id }, 'expand-row-keys': [] }, events: { init: '@list @setExpandRow' }, actions: { setExpandRow() { // 设置默认展开行 this.block.props['expand-row-keys'] = ['2'] } } }
Sorry, something went wrong.
No branches or pull requests
No description provided.
The text was updated successfully, but these errors were encountered: