|
@@ -56,7 +56,7 @@ export default {
|
|
|
if (opt[key]?.prompt) {
|
|
|
return role && (opt[key]?.conditions ? opt[key]?.conditions({ row, index, column }) : true) ? (
|
|
|
<el-popconfirm
|
|
|
- title={opt[key]?.prompt}
|
|
|
+ title={setBtnName(opt[key]?.prompt, { row, index, column })}
|
|
|
onConfirm={() => {
|
|
|
opt[key]?.click({ row, index, column })
|
|
|
}}
|