<template #default="scope">
<el-button size="mini" @click="handleEdit(scope.$index,scope.row)">编辑</el-button>
<el-popconfirm title="Are you sure to delete this?">
<template #reference>
<el-button size="mini" type="danger" @click="handleDelete(scope.$index,scope.row)">删除</el-button>
</template>
</el-popconfirm>
</template>
问题:
HandleEdit 传参错误
this.form = JSON.parse(JSON.stringify( row));
this.form.id = this.form.id;
this.dialogVisible = true
},