Vue+Element table表格中多行删除提示el-popover无效

未实现现象:加上删除提示确认。使用element组件popover,有多行删除提示时,提示不生效。

实现后的效果:

 解决思路:

  1.利用scope.row.visible替代现有的visible,

  2.并且在表格数据初始化的时候,对每条数据都设置一个visible = false

实现:

 

原文地址:https://www.cnblogs.com/duguangming/p/15193518.html