Element UI version
0.1.0
OS/Browsers version
WIN10 最新chrome
Vue version
2.6.11
Reproduction Link
https://codepen.io/Stories609449489/pen/gOaqEVy
Steps to reproduce
动态渲染列名,bug, 数据中有 . 点 的时候,会渲染不出来,去掉 点 . 就OK ,
例如我重新连接中
columns:["列名.a","列名.b"],
tableData: [{
'列名.a': '111',
'列名.b': '222'
}],
换成 列名_a
这种形式就可以,只要有点. 就不行
What is Expected?
修复 正常显示
What is actually happening?
table 无法正常显示
2条答案
按热度按时间6ovsh4lw1#
Translation of this issue:
Element UI version
0.1.0
OS/Browsers version
Win10 latest Chrome
Vue version
2.6.11
Reproduction Link
https://codepen.io/Stories609449489/pen/gOaqEVy
Steps to reproduce
When there are. Points in the dynamic rendering column name, bug and data, it will not render. Just remove the points,
For example, I'm reconnecting
Columns: ["column name. A", "column name. B"],
tableData: [{
'column name. A': '111',
'column name. B': '222'
]
Change to column name
This form is OK, as long as it's a little bit. It's not OK
What is Expected?
Repair normal display
What is actually happening?
Table cannot be displayed normally
wyyhbhjk2#
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.