element icon indicating copy to clipboard operation
element copied to clipboard

[Bug Report] 1.4.2 version et-table, after setting up height, sets the display:none in the parent container; then binds the new value to the et-table of the data; the parent container cancels display:none, and et-table is invisible

Open vboyok opened this issue 9 years ago • 4 comments

Element UI version

1.4.2

OS/Browsers version

win10 / 60.0.3112.90

Vue version

2.4.2

Reproduction Link

https://jsfiddle.net/pf19gnjz/1/

Steps to reproduce

定击重现链接( https://jsfiddle.net/pf19gnjz/3/ )中的setData按钮

What is Expected?

et-table显示正确的数据

What is actually happening?

et-table没有显示, 此时收缩窗口,或者从新设置et-table数据源,则恢复显示

此前版本正常

vboyok avatar Aug 15 '17 06:08 vboyok

Translation of this issue:

Element UI version

1.4.2

OS/Browsers version

Win10 / 60.0.3112.90

Vue version

2.4.2

Reproduction Link

https://jsfiddle.net/pf19gnjz/1/

Steps to reproduce

The setData button in the fixed hit reproduction link (https://jsfiddle.net/pf19gnjz/3/)

What is Expected?

Et-table displays the correct data

What is actually happening?

Et-table does not display,

At this point, the contraction window, or the new et-table data source, resumes display Earlier versions were normal

element-bot avatar Aug 15 '17 06:08 element-bot

这种场景建议用v-if

qingdengyue avatar Aug 16 '17 00:08 qingdengyue

@qingdengyue 这只是简化了的问题重现,并不能反映应用场景

vboyok avatar Aug 16 '17 01:08 vboyok

Fixed in 2.0: https://jsfiddle.net/pf19gnjz/5/

Leopoldthecoder avatar Oct 22 '17 04:10 Leopoldthecoder