element
element copied to clipboard
[Bug Report] table data and column prop cant match when change column with v-if; 使用v-if更改table column, table data 和column prop无法对应
Element UI version
2.15.7
OS/Browsers version
macos
Vue version
2.6.14
Reproduction Link
https://codepen.io/a602120/pen/abGWLQa?editors=1010
Steps to reproduce
点击change按钮2次,使changeColumn的值为3; click button twice;
What is Expected?
日期列pay_date, 应该渲染为对应的数据2022-09-12; the pay_date column should render correct data;
What is actually happening?
日期列取值为prop name; the pay_date column rendered name column data;
没看懂,日期列具体是那一列
张丝丝-2-B这个数据哪里来的呀
没看懂,日期列具体是那一列
你确定你读完复现步骤了?
没读完。。。。。
| | @.*** | | @.*** |
---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2022年09月19日 19:04 | | 收件人 | @.> | | 抄送至 | @.@.> | | 主题 | Re: [ElemeFE/element] [Bug Report] table data and column prop cant match when change column with v-if; 使用v-if更改table column, table data 和column prop无法对应 (Issue #22154) |
没看懂,日期列具体是那一列
你确定你读完复现步骤了?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
哦
| | @.*** | | @.*** |
---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2022年09月19日 19:06 | | 收件人 | @.> | | 抄送至 | @.@.> | | 主题 | Re: [ElemeFE/element] [Bug Report] table data and column prop cant match when change column with v-if; 使用v-if更改table column, table data 和column prop无法对应 (Issue #22154) |
张丝丝-2-B这个数据哪里来的呀
我提的是bug,所以是bug,你懂吗??
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>
Element UI version
2.15.7
OS/Browsers version
macos
Vue version
2.6.14
Reproduction Link
https://codepen.io/a602120/pen/abGWLQa?editors=1010
Steps to reproduce
点击change按钮2次,使changeColumn的值为3; click button twice;
What is Expected?
日期列pay_date, 应该渲染为对应的数据2022-09-12; the pay_date column should render correct data;
What is actually happening?
日期列取值为prop name; the pay_date column rendered name column data;
v-if情况下el-table-column要加key的,加了key是没问题的