ElemeFE / ElemeFE/element

How to use the [bug report] tab component in combination with Vue's V-IF

Open
#19,911 2 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.13.2

### OS/Browsers version
WIn10 / Chrome

### Vue version
2.6.11

### Reproduction Link
https://github.com/ElemeFE/element/issues/19910

### Steps to reproduce
使用tabs标签组件,多个tab,每个tab中数据一样,然后用v-if控制tab-pane中某个标签使其隐藏,然后切换标签

### What is Expected?
切换标签应正确渲染v-if控制的标签,隐藏的隐藏

### What is actually happening?
切换标签后需要隐藏的显示了出来

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.