Browse Source

添加地图uuid,用于地图数据获取

HuangKai 2 weeks ago
parent
commit
3eabb5bb4b
2 changed files with 2 additions and 0 deletions
  1. 1 0
      src/model/AccountAuth.js
  2. 1 0
      src/view/common/MapManageList.js

+ 1 - 0
src/model/AccountAuth.js

@@ -180,6 +180,7 @@ class AccountAuth {
                         map_data, 
                         map_name, 
                         create_time, 
+                        map_uuid, 
                         update_time
                     FROM 
                         medba.dat_map 

+ 1 - 0
src/view/common/MapManageList.js

@@ -37,6 +37,7 @@ function MapManageItem({map}){
 		<>
 			<ListGroup.Item>
 				<span style={{fontSize: "20px"}}>地图名:{map.map_name}</span><br/>
+				<span style={{fontSize: "16px"}}>地图ID:{map.map_uuid}</span><br/>
 				<span style={{fontSize: "13px"}}> 保存时间:{convertToLocaleDateTime(map.update_time)}</span><br/>
 				<span style={{fontSize: "13px"}}> 创建时间:{convertToLocaleDateTime(map.create_time)}</span><br/><br/>
 				<Button className="mr-2" variant="primary" size='sm' onClick={renameHandle} disabled>重命名</Button>