Showing
1 changed file
with
8 additions
and
2 deletions
... | ... | @@ -18,14 +18,20 @@ |
18 | 18 | icon: 'ant-design:send-outlined', |
19 | 19 | tooltip: '发送通知短信', |
20 | 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 | 27 | label: '清除密码', |
25 | 28 | icon: 'ant-design:clear-outlined', |
26 | 29 | tooltip: '清除密码', |
27 | 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 | 37 | label: '编辑', | ... | ... |