Element UI version
2.13.0
OS/Browsers version
MacOS/Chrome
Vue version
2.6.11
Reproduction Link
https://codepen.io/matinjugou/pen/abvbwQJ
Steps to reproduce
点击左边的Table2,再点击Table1就会发现Table1的数据错乱了
What is Expected?
Table1和Table2各自正常显示自己的数据
What is actually happening?
Table1的表格数据被Table2干扰了,name列按照Table2的address的逻辑来显示的
4条答案
按热度按时间m4pnthwp1#
Translation of this issue:
Element UI version
2.13.0
OS/Browsers version
MacOS/Chrome
Vue version
3.0.0-alpha.12
Reproduction Link
https://codepen.io/matinjugou/pen/abvbwQJ
Steps to reproduce
Click table2 on the left, and then click table1 to find that the data of table1 is disordered
What is Expected?
Table1 and table2 display their own data normally
What is actually happening?
The table data of table1 is disturbed by table2. The name column is displayed according to the address logic of table2
xesrikrc2#
vue版本是2.6.11,发issue的时候写错了
qzwqbdag3#
发现了一个解决方案,就是给每个table强行加一个key属性,这样就不会出现渲染错误了
ef1yzkbh4#
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.