Showing
1 changed file
with
8 additions
and
2 deletions
| @@ -18,14 +18,20 @@ | @@ -18,14 +18,20 @@ | ||
| 18 | icon: 'ant-design:send-outlined', | 18 | icon: 'ant-design:send-outlined', |
| 19 | tooltip: '发送通知短信', | 19 | tooltip: '发送通知短信', |
| 20 | ifShow: record.phoneNumber != null && !record.hasPassword, | 20 | ifShow: record.phoneNumber != null && !record.hasPassword, |
| 21 | - onClick: handleSendMsg.bind(null, record), | 21 | + popConfirm: { |
| 22 | + title: '是否需要发送通知短信', | ||
| 23 | + confirm: handleSendMsg.bind(null, record), | ||
| 24 | + }, | ||
| 22 | }, | 25 | }, |
| 23 | { | 26 | { |
| 24 | label: '清除密码', | 27 | label: '清除密码', |
| 25 | icon: 'ant-design:clear-outlined', | 28 | icon: 'ant-design:clear-outlined', |
| 26 | tooltip: '清除密码', | 29 | tooltip: '清除密码', |
| 27 | ifShow: record.hasPassword, | 30 | ifShow: record.hasPassword, |
| 28 | - onClick: handleResetPassword.bind(null, record), | 31 | + popConfirm: { |
| 32 | + title: '是否需要清除密码', | ||
| 33 | + confirm: handleResetPassword.bind(null, record), | ||
| 34 | + }, | ||
| 29 | }, | 35 | }, |
| 30 | { | 36 | { |
| 31 | label: '编辑', | 37 | label: '编辑', |