Element UI version
0.1.0
OS/Browsers version
windows
Vue version
3.0.0-beta.3
Reproduction Link
https://codepen.io/jacksuc/pen/XWmjGBg
Steps to reproduce
点击click按钮
What is Expected?
第二个表格中不应该有多选框一列
What is actually happening?
第二个表格中出现了选择框一列,并且原有的第一列属性没有了
6条答案
按热度按时间ax6ht2ek1#
Translation of this issue:
Element UI version
0.1.0
OS/Browsers version
windows
Vue version
3.0.0-beta.3
Reproduction Link
https://codepen.io/jacksuc/pen/XWmjGBg
Steps to reproduce
Click the click button
What is Expected?
There should be no multiple boxes and columns in the second table
What is actually happening?
In the second table, there is a selection box column, and the original attributes of the first column are not available
wswtfjt72#
显式指定 key 可以解决这个问题
ippsafx73#
显式指定 key 可以解决这个问题
不是很明白,加column-key嘛?请指教,谢谢!
envsm3lx4#
楼上,这个问题最后解决了吗
w3nuxt5m5#
我指定的key是index,根据DIFF算法,这个index没变的,原样拷贝dom节点 。所以指定key的时候最好用index+label的形式
qzlgjiam6#
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.