diff --git a/src/pages/nav1/Table.vue b/src/pages/nav1/Table.vue index aaca8ed..66b7bde 100644 --- a/src/pages/nav1/Table.vue +++ b/src/pages/nav1/Table.vue @@ -31,11 +31,11 @@ - - - 编辑 - 删除 - + + @@ -181,7 +181,7 @@ }); }, //删除 - handleDel: function (row) { + handleDel: function (index, row) { this.$confirm('确认删除该记录吗?', '提示', { type: 'warning' }).then(() => { @@ -203,7 +203,7 @@ }); }, //显示编辑界面 - handleEdit: function (row) { + handleEdit: function (index, row) { this.editFormVisible = true; this.editForm = Object.assign({}, row); },