[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
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数据源,则恢复显示
此前版本正常
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
这种场景建议用v-if
@qingdengyue 这只是简化了的问题重现,并不能反映应用场景
Fixed in 2.0: https://jsfiddle.net/pf19gnjz/5/