Commit 7097731b authored by timel's avatar timel

feat: yes no modal

parent 582c0349
Pipeline #22457 passed with stages
in 12 minutes and 16 seconds
......@@ -25,23 +25,25 @@ export const YesNoModal: React.FC = () => {
<NeosModal
title={`${preHintMsg} ${msg}`}
open={isOpen}
width={400}
footer={
<>
<Button
onClick={() => {
sendSelectEffectYnResponse(true);
sendSelectEffectYnResponse(false);
rs();
}}
>
Yes
取消
</Button>
<Button
type="primary"
onClick={() => {
sendSelectEffectYnResponse(false);
sendSelectEffectYnResponse(true);
rs();
}}
>
No
确认
</Button>
</>
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment