Skip to content

tabs组件异步加载时会默认选中第二项 #2167

@arika163

Description

@arika163
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.5.1

Environment

windows10@1909,[email protected],[email protected]

Reproduction link

Edit on CodeSandbox

Steps to reproduce

已提供沙盒复现:
https://codesandbox.io/s/vibrant-cherry-qhd8n

What is expected?

按defaultActiveKey属性选中对应的tab

What is actually happening?

选中了第二个tab

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions