Commit 08b0fdaf0ed3a4673af95ac6e56438b8eea7f11b

Authored by fengtao
1 parent 464f15f6

pref:优化租户管理员操作项新增确认框

... ... @@ -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: '编辑',
... ...