fix: show success message when start model falied

This commit is contained in:
jialin
2025-03-14 18:50:45 +08:00
parent 38ff16f3cd
commit db0a5875fa
12 changed files with 149 additions and 175 deletions
+5 -1
View File
@@ -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;
+1 -1
View File
@@ -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}
+1 -1
View File
@@ -19,7 +19,7 @@ const DeleteModal = forwardRef((props, ref) => {
title?: string;
operation: string;
}
>({});
>({} as any);
useImperativeHandle(ref, () => ({
show: (