From b8f16c4d6241c5b561d0d57699fadfbb8c2ebf9a Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期一, 11 三月 2024 10:43:20 +0800
Subject: [PATCH] #
---
zy-asrs-flow/src/pages/map/components/settings.jsx | 1 +
zy-asrs-flow/src/pages/map/components/subSettings.jsx | 3 ++-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/zy-asrs-flow/src/pages/map/components/settings.jsx b/zy-asrs-flow/src/pages/map/components/settings.jsx
index ed5b784..aa6a41e 100644
--- a/zy-asrs-flow/src/pages/map/components/settings.jsx
+++ b/zy-asrs-flow/src/pages/map/components/settings.jsx
@@ -338,6 +338,7 @@
<SubSpriteSettings
open={childrenDrawer}
refCurr={props.refCurr}
+ curSprite={props.curSprite}
values={{
copyDire: form.getFieldValue('copyDire'),
copyCount: form.getFieldValue('copyCount'),
diff --git a/zy-asrs-flow/src/pages/map/components/subSettings.jsx b/zy-asrs-flow/src/pages/map/components/subSettings.jsx
index 33a2dee..5d421ea 100644
--- a/zy-asrs-flow/src/pages/map/components/subSettings.jsx
+++ b/zy-asrs-flow/src/pages/map/components/subSettings.jsx
@@ -14,11 +14,12 @@
const SubSpriteSettings = (props) => {
const intl = useIntl();
const { styles } = useStyles();
+ const { curSprite } = props;
const [form] = Form.useForm();
useEffect(() => {
console.log(props.values);
-
+ console.log(curSprite);
form.resetFields();
form.setFieldsValue({
--
Gitblit v1.9.1