Skip to content
New issue

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

Table is used in tabs, and the loading setting of table is abnormal #5186

Closed
Benjamin369 opened this issue Jan 21, 2022 · 2 comments
Closed

Comments

@Benjamin369
Copy link

What problem does this feature solve?

如题,在tabs中使用table时,如果table的loading配置成true,table上的载入效果异常。

What does the proposed API look like?

需要在tabs中table的loading配置为true时,效果与非tabs中一致。

非tabs中嵌套的效果:
image

tabs中嵌套的效果:
image

tabs中非loading效果
image

tabs嵌套的部分代码

使用的是tabs中嵌套组件,组件中包含table,是组件

tabs部分
<a-tabs type="card">
    <a-tab-pane :key="'tab_room_' + e.id" :tab="e.name" v-for="e in roomData">
        <div class="tabPaneContent">
            <EquipmentList :roomData="e" />
        </div>
    </a-tab-pane>
</a-tabs>
EquipmentList 组件部分
<a-table
    size="middle"
    :columns="tbaleColumns"
    :data-source="tableData"
    :pagination="pageInfo"
    :loading="true"
    rowKey="id"
    @change="changePage">
</a-table>
@github-actions github-actions bot changed the title tabs中使用table,table的loading设置异常 Table is used in tabs, and the loading setting of table is abnormal Jan 21, 2022
@github-actions
Copy link

Hello @Benjamin369, your issue has been closed because it does not conform to our issue requirements. Please use the Issue Helper to create an issue, thank you!

你好 @Benjamin369,为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。你可以通过 issue 助手 来创建 issue 以方便我们定位错误。谢谢配合!

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant