Commit 0ed0e1c9 authored by 田翔's avatar 田翔

fix: 修改地图传参

parent 9acbe134
{ {
"name": "panda-xform", "name": "panda-xform",
"version": "2.9.5", "version": "2.9.6",
"description": "2.9.5: 增加一键布局功能", "description": "2.9.6: 修改地图传参",
"keywords": [ "keywords": [
"panda-xform" "panda-xform"
], ],
......
...@@ -199,7 +199,7 @@ const Coordinate = (props) => { ...@@ -199,7 +199,7 @@ const Coordinate = (props) => {
getMapInfo={getView} getMapInfo={getView}
widgets={[]} widgets={[]}
token={token} token={token}
client={client} client={token ? client : 'sandbox'}
/> />
{ {
view ? <div style={{ width: '400px', position: 'absolute', right: '0', top: '25px' }}> view ? <div style={{ width: '400px', position: 'absolute', right: '0', top: '25px' }}>
......
...@@ -160,7 +160,7 @@ const Device = (props) => { ...@@ -160,7 +160,7 @@ const Device = (props) => {
getMapInfo={getMapInfo} getMapInfo={getMapInfo}
widgets={[]} widgets={[]}
token={token} token={token}
client={client} client={token ? client : 'sandbox'}
/> />
</Drag> </Drag>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment