element When the [bug report] table component is dynamically rendered and there is a little bit in the data, the table cannot be displayed normally

fd3cxomn  于 4个月前  发布在  其他
关注(0)|答案(2)|浏览(96)

Element UI version

0.1.0

OS/Browsers version

WIN10 最新chrome

Vue version

2.6.11

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 无法正常显示

6ovsh4lw

6ovsh4lw1#

Translation of this issue:

Element UI version

0.1.0

OS/Browsers version

Win10 latest Chrome

Vue version

2.6.11

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

wyyhbhjk

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.

相关问题