fix: show backend warning hint after submitting in editing mode

This commit is contained in:
jialin
2026-03-16 14:06:41 +08:00
parent 042f8fed47
commit ea4ea56e59
+1 -1
View File
@@ -256,7 +256,7 @@ const AddModal: React.FC<AddModalProps> = (props) => {
}}
footer={
<>
{action === PageAction.CREATE && (
{action === PageAction.CREATE && open && (
<div style={{ marginInline: 24, paddingTop: 8 }} ref={alertRef}>
<AlertBlockInfo
type="warning"