Commit 70c37d7d authored by 皮倩雯's avatar 皮倩雯

fix: '底图配置增加离线地图最大级别配置'

parent 169f6ad8
Pipeline #84681 passed with stages
...@@ -145,6 +145,7 @@ const AddModal = props => { ...@@ -145,6 +145,7 @@ const AddModal = props => {
icon: obj.icon, icon: obj.icon,
type: obj.type, type: obj.type,
isTainDiTu: obj.isTainDiTu, isTainDiTu: obj.isTainDiTu,
levelEnd: obj.levelEnd,
}), }),
}; };
} }
...@@ -628,6 +629,13 @@ const AddModal = props => { ...@@ -628,6 +629,13 @@ const AddModal = props => {
<Radio value={1}></Radio> <Radio value={1}></Radio>
</Radio.Group> </Radio.Group>
</Item> </Item>
<Item label="最大级别" name="levelEnd">
<InputNumber
defaultValue={16}
placeholder="最大显示级别"
style={{ width: '180px' }}
/>
</Item>
</> </>
)} )}
{/* <Item label="缩略图" name="icon" rules={[{ required: true, message: '请选择缩略图' }]}> {/* <Item label="缩略图" name="icon" rules={[{ required: true, message: '请选择缩略图' }]}>
......
...@@ -147,7 +147,7 @@ const NewEditModal = props => { ...@@ -147,7 +147,7 @@ const NewEditModal = props => {
origin: null, origin: null,
resolution: null, resolution: null,
tileMatrix: null, tileMatrix: null,
levelEnd: null, levelEnd: obj.levelEnd,
levelEndEnlarge: false, levelEndEnlarge: false,
m_Ip: null, m_Ip: null,
m_Port: null, m_Port: null,
...@@ -661,6 +661,13 @@ const NewEditModal = props => { ...@@ -661,6 +661,13 @@ const NewEditModal = props => {
<Radio value={1}></Radio> <Radio value={1}></Radio>
</Radio.Group> </Radio.Group>
</Item> </Item>
<Item label="最大级别" name="levelEnd">
<InputNumber
defaultValue={16}
placeholder="最大显示级别"
style={{ width: '180px' }}
/>
</Item>
</> </>
)} )}
{/* <Item label="缩略图" name="icon" rules={[{ required: true, message: '请选择缩略图' }]}> {/* <Item label="缩略图" name="icon" rules={[{ required: true, message: '请选择缩略图' }]}>
......
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