element中是**@confirm** 但是使用起来没有效果, 在网上查找的是**@onConfirm**,但是使用也没有效果。
后来想到一个折中的方法:
<el-popconfirm title="是否忽略此次警告?" @confirm="test(scope.row)" @onConfirm="test(scope.row)" > </el-popconfirm>
当当当, 都用上就有效果了。 giao