element
element copied to clipboard
[Bug Report] 编辑table某条记录,不能同步到视图
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中的记录
//this.tableData[this.currentIndex] = this.model;
this.$set(this.tableData, this.currentIndex, this.model)
vue一直就不支持 利用索引直接设置一个项
请参照楼上。