ElemeFE / ElemeFE/element

[Bug Report] The table content doesn't go beyond the parent container but the gutter on the right is displayed.

Open
#18,692 3 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.0

### OS/Browsers version
Windows10/Chrome 79.0.3945.117

### Vue version
2.6.0

### Reproduction Link
https://codepen.io/cloudsail/pen/abzKMMW

### Steps to reproduce
第一次进入时,进入到第一个标签页,table无异样
1.点击进入标签页第三个标签页,再返回到第一个或第二个标签页,发现table右侧多了个class="gutter "的th元素,该元素应该是出现滚动条时才会出现
2.点击进入第二个标签页,单击按钮,主动调用table的dolayout方法,恢复正常

### What is Expected?
table右侧不出现class="gutter"的th元素,table显示的内容并不需要滚动条

### What is actually happening?
table右侧出现了class="gutter"的th元素

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.