From c4bde9927f171e3c82c841f814d4c747ae7849f7 Mon Sep 17 00:00:00 2001 From: gwbvipvip Date: Thu, 18 Jan 2024 10:05:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../storeStaff/components/CreateForm.jsx | 30 +++++++++++++------ 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/src/pages/shopmanage/storeStaff/components/CreateForm.jsx b/src/pages/shopmanage/storeStaff/components/CreateForm.jsx index 864e41f..1361da8 100644 --- a/src/pages/shopmanage/storeStaff/components/CreateForm.jsx +++ b/src/pages/shopmanage/storeStaff/components/CreateForm.jsx @@ -40,16 +40,28 @@ const CreateForm = (props) => { } - - + + + prevValues.mode !== currentValues.mode + } > + {({ getFieldValue }) => + (props.values.id) ? ( + + + + ) : null + } + +