vue:编辑table的某一行的时候。获取哪一行的数据给编辑的表格。

1,编辑table的某一行的时候。获取哪一行的数据给编辑的表格。

handleEdit: function (index, row) {
                this.editFormVisible = true;
                this.editForm = Object.assign({}, row);
            },

posted @ 2019-02-23 21:17  hayabky  阅读(10499)  评论(1)    收藏  举报