@@ -91,7 +91,7 @@
<template slot-scope="scope">
<el-popconfirm
title="确定删除该条数据吗?"
- :onConfirm="() => removeRecord(scope.row.id)"
+ @onConfirm="() => removeRecord(scope.row.id)"
>
<el-button type="text" slot="reference">删除</el-button>
</el-popconfirm>