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
<a-tabs type="text" size="medium" default-active-key="0" lazy-load destroy-on-hide style="height: 65vh" > <a-tab-pane v-for="(firstTab, firstIndex) in firstTabs" :key="firstIndex" :title="firstTab.title" > <a-tabs type="text" size="mini" default-active-key="0" lazy-load destroy-on-hide > <a-tab-pane v-for="(secondTab, secondIndex) in firstTab.secondTabs" :key="secondIndex" :title="secondTab.title" > <component :is="secondTab.component" /> </a-tab-pane> </a-tabs> </a-tab-pane> </a-tabs>
这段代码生成的a-tab-pane 的key赋值貌似与v-for 的key 冲突 导致default-active-key="0" 失效 无法打开默认tab
The text was updated successfully, but these errors were encountered:
No branches or pull requests
这段代码生成的a-tab-pane 的key赋值貌似与v-for 的key 冲突 导致default-active-key="0" 失效 无法打开默认tab
The text was updated successfully, but these errors were encountered: