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
列参数使用同一个变量 columns
先加载register的BasicTable组件
<BasicTable @register="registerTable">
const [registerTable, {reload, getSelectRowKeys, getSelectRows, clearSelectedRowKeys}] = useTable({ api: page, title: `${unref(title)}列表`, columns, rowKey: 'id', bordered: true, showTableSetting: true, rowSelection: {type: 'checkbox'}, actionColumn: { width: 100, title: '操作', dataIndex: 'action', slots: {customRender: 'action'}, }, });
再加载props的BasicTable组件
<BasicTable ref="members" row-key="memberId" :columns="memberColumns" :dataSource="members" :pagination="false" >
正确 错误
The text was updated successfully, but these errors were encountered:
fix(table): columns ref fixed(#564) (#573)
43e4c21
可以了多谢
Sorry, something went wrong.
No branches or pull requests
列参数使用同一个变量 columns
先加载register的BasicTable组件
再加载props的BasicTable组件
正确
错误
The text was updated successfully, but these errors were encountered: