From d835d1b51f832889929cdf69010034a30ef44d02 Mon Sep 17 00:00:00 2001
From: Junjie <xjj@123>
Date: 星期四, 17 十月 2024 13:57:29 +0800
Subject: [PATCH] #
---
zy-asrs-flow/src/pages/map/drawer/lift/index.jsx | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/zy-asrs-flow/src/pages/map/drawer/lift/index.jsx b/zy-asrs-flow/src/pages/map/drawer/lift/index.jsx
index 9e43797..8b38b83 100644
--- a/zy-asrs-flow/src/pages/map/drawer/lift/index.jsx
+++ b/zy-asrs-flow/src/pages/map/drawer/lift/index.jsx
@@ -18,8 +18,10 @@
if (!curSprite) {
return
}
- props.setDrawerTitle(intl.formatMessage({ id: 'map.loc.no', defaultMessage: '搴撲綅鍙�' }) + ': ' + curNo);
- }, [curNo]);
+ const deviceNo = curSprite?.data?.liftNo;
+ props.setDrawerTitle(intl.formatMessage({ id: 'map.lift.no', defaultMessage: '鎻愬崌鏈哄彿' }) + ': ' + deviceNo);
+ setCurNo(deviceNo)
+ }, [curSprite]);
const contentList = {
view: (
@@ -46,7 +48,7 @@
tabList={[
{
key: 'view',
- tab: intl.formatMessage({ id: 'map.drawer.shelf.view.title', defaultMessage: '搴撲綅淇℃伅' }),
+ tab: intl.formatMessage({ id: 'map.drawer.lift.view.title', defaultMessage: '鎻愬崌鏈轰俊鎭�' }),
},
{
key: 'json',
--
Gitblit v1.9.1