fix: show success message when start model falied
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
padding: 6px 10px;
|
||||
position: relative;
|
||||
padding-top: 35px;
|
||||
text-align: center;
|
||||
text-align: left;
|
||||
border-radius: var(--border-radius-base);
|
||||
margin: 0;
|
||||
border: 1px solid transparent;
|
||||
@@ -21,6 +21,10 @@
|
||||
background-color: var(--ant-color-warning-bg);
|
||||
}
|
||||
|
||||
.content {
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.title {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
|
||||
@@ -37,7 +37,7 @@ const AlertInfo: React.FC<AlertInfoProps> = (props) => {
|
||||
<WarningFilled className={classNames('info-icon', type)} />
|
||||
<span className="text">{title}</span>
|
||||
</div>
|
||||
{message}
|
||||
<span className="content">{message}</span>
|
||||
</Typography.Paragraph>
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
@@ -19,7 +19,7 @@ const DeleteModal = forwardRef((props, ref) => {
|
||||
title?: string;
|
||||
operation: string;
|
||||
}
|
||||
>({});
|
||||
>({} as any);
|
||||
|
||||
useImperativeHandle(ref, () => ({
|
||||
show: (
|
||||
|
||||
Reference in New Issue
Block a user