setPauseOpen(false)}
- onOk={() => {
- setPauseOpen(false);
- runAction('pause');
- }}
okText="确认暂停"
okButtonProps={{ danger: true }}
+ cancelText="取消"
+ onOk={async () => {
+ setPauseOpen(false);
+ await runAction('pause');
+ }}
+ onCancel={() => setPauseOpen(false)}
>
- {`暂停账号 ${account.name}?待领取任务将进入 hold,恢复账号不会自动恢复既有 hold。`}
+
+ 暂停后运行环境不再调度该账号;确认继续?
+
);