ElemeFE / 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无法对应

Open
#22,154 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### 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;

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.