element icon indicating copy to clipboard operation
element copied to clipboard

[Bug Report] 编辑table某条记录,不能同步到视图

Open cmlily8294 opened this issue 9 years ago • 2 comments

Element UI version

1.2.5

OS/Browsers version

macOS/chrome

Vue version

2.2.5

Reproduction Link

http://jsfiddle.net/ppdu3opf/1/

Steps to reproduce

1.点击编辑 2.修改值 3.保存

What is Expected?

更新table中的记录(1.2.5之前版本可行)

What is actually happening?

未更新table中的记录

cmlily8294 avatar Mar 24 '17 15:03 cmlily8294

//this.tableData[this.currentIndex] = this.model;
this.$set(this.tableData, this.currentIndex, this.model)

vue一直就不支持 利用索引直接设置一个项

lincenying avatar Mar 25 '17 03:03 lincenying

请参照楼上。

Leopoldthecoder avatar Mar 25 '17 05:03 Leopoldthecoder