From 40caddc08252ad3276832a14a69cfaf9f71b08c8 Mon Sep 17 00:00:00 2001
From: cp <513960435@qq.com>
Date: 星期二, 05 十一月 2024 08:53:41 +0800
Subject: [PATCH] 完善
---
zy-asrs-flow/src/pages/map/drawer/index.jsx | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/zy-asrs-flow/src/pages/map/drawer/index.jsx b/zy-asrs-flow/src/pages/map/drawer/index.jsx
index 442887e..0662017 100644
--- a/zy-asrs-flow/src/pages/map/drawer/index.jsx
+++ b/zy-asrs-flow/src/pages/map/drawer/index.jsx
@@ -5,6 +5,7 @@
import * as Utils from '../utils'
import ShelfDrawer from './shelf';
import AgvDrawer from './agv';
+import PointDrawer from './point'
const useStyles = createStyles(({ token, css }) => {
@@ -28,6 +29,9 @@
rootStyle={{ position: "absolute" }}
mask={false}
width={600}
+ style={{
+ opacity: .8
+ }}
extra={
<Space>
<Button onClick={handleCancel}>
@@ -43,6 +47,13 @@
/>
</>
)}
+ {props.curSprite?.data?.type === Utils.SENSOR_TYPE.POINT && (
+ <>
+ <PointDrawer
+ curSprite={curSprite}
+ />
+ </>
+ )}
{props.curSprite?.data?.type === Utils.SENSOR_TYPE.AGV && (
<>
<AgvDrawer
--
Gitblit v1.9.1