Commit 4f6ecf36 authored by Chunchi Che's avatar Chunchi Che

fix small

parent adadbc76
Pipeline #21532 passed with stages
in 15 minutes and 4 seconds
import "@/styles/select-modal.scss"; import "@/styles/select-modal.scss";
import { ThunderboltOutlined } from "@ant-design/icons"; import { MinusOutlined, ThunderboltOutlined } from "@ant-design/icons";
import { CheckCard, CheckCardProps } from "@ant-design/pro-components"; import { CheckCard, CheckCardProps } from "@ant-design/pro-components";
import { Button, Card, Col, Popover, Row } from "antd"; import { Button, Card, Col, Popover, Row } from "antd";
import React, { useState } from "react"; import React, { useState } from "react";
...@@ -68,9 +68,10 @@ export const SelectActionsModal = () => { ...@@ -68,9 +68,10 @@ export const SelectActionsModal = () => {
onCancel={() => { onCancel={() => {
selectCardActions.isOpen = false; selectCardActions.isOpen = false;
}} }}
closeIcon={<MinusOutlined />}
footer={ footer={
<> <>
<button <Button
disabled={!submitable} disabled={!submitable}
onClick={() => { onClick={() => {
const values = mustSelects const values = mustSelects
...@@ -88,8 +89,8 @@ export const SelectActionsModal = () => { ...@@ -88,8 +89,8 @@ export const SelectActionsModal = () => {
onBlur={() => {}} onBlur={() => {}}
> >
{fetchStrings("!system", 1211)} {fetchStrings("!system", 1211)}
</button> </Button>
<button <Button
disabled={!finishable} disabled={!finishable}
onClick={() => { onClick={() => {
sendSelectSingleResponse(FINISH_RESPONSE); sendSelectSingleResponse(FINISH_RESPONSE);
...@@ -99,9 +100,9 @@ export const SelectActionsModal = () => { ...@@ -99,9 +100,9 @@ export const SelectActionsModal = () => {
onBlur={() => {}} onBlur={() => {}}
> >
{fetchStrings("!system", 1296)} {fetchStrings("!system", 1296)}
</button> </Button>
<button <Button
disabled={!cancelable} disabled={!cancelable}
onClick={() => { onClick={() => {
sendSelectSingleResponse(CANCEL_RESPONSE); sendSelectSingleResponse(CANCEL_RESPONSE);
...@@ -111,7 +112,7 @@ export const SelectActionsModal = () => { ...@@ -111,7 +112,7 @@ export const SelectActionsModal = () => {
onBlur={() => {}} onBlur={() => {}}
> >
{fetchStrings("!system", 1295)} {fetchStrings("!system", 1295)}
</button> </Button>
</> </>
} }
width={800} width={800}
...@@ -180,8 +181,9 @@ export const SelectActionsModal = () => { ...@@ -180,8 +181,9 @@ export const SelectActionsModal = () => {
onClick={() => { onClick={() => {
selectCardActions.isOpen = true; selectCardActions.isOpen = true;
}} }}
></button> >
SCROLL UP SCROLL UP
</button>
</div> </div>
) : ( ) : (
<></> <></>
......
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