fix: show backend warning hint after submitting in editing mode

This commit is contained in:
jialin
2026-03-16 14:48:46 +08:00
committed by jialin
parent 18c10e5839
commit 83f6f41787
+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"