From 71d23129eff75fb89e95e7a33b3683c2017ce72c Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@163.com> Date: 星期一, 14 十月 2024 11:21:49 +0800 Subject: [PATCH] # --- zy-acs-flow/src/map/batch/index.jsx | 14 ++++---------- 1 files changed, 4 insertions(+), 10 deletions(-) diff --git a/zy-acs-flow/src/map/batch/index.jsx b/zy-acs-flow/src/map/batch/index.jsx index a4e0fa7..f238cc0 100644 --- a/zy-acs-flow/src/map/batch/index.jsx +++ b/zy-acs-flow/src/map/batch/index.jsx @@ -43,11 +43,8 @@ {mode === MAP_MODE.OBSERVER_MODE && ( <> <BatchSettings - data={ - batchSprites?.map(item => { - return item.data?.type + '-' + item.data?.no; - }) - } + batchSprites={batchSprites} + drawerClose={handleClose} /> </> )} @@ -55,11 +52,8 @@ {mode === MAP_MODE.SETTINGS_MODE && ( <> <BatchSettings - data={ - batchSprites?.map(item => { - return item.data?.type + '-' + item.data?.no; - }) - } + batchSprites={batchSprites} + drawerClose={handleClose} /> </> )} -- Gitblit v1.9.1