Commit 5b12a256 authored by 皮倩雯's avatar 皮倩雯

优化同步地图组件功能样式

parent 8cb153a7
Pipeline #60143 passed with stages
...@@ -332,14 +332,20 @@ const WebConfigPage = props => { ...@@ -332,14 +332,20 @@ const WebConfigPage = props => {
</span> </span>
<div style={{ display: 'inline-block', float: 'right', marginTop: '-15px' }}> <div style={{ display: 'inline-block', float: 'right', marginTop: '-15px' }}>
<strong style={{ marginRight: '15px' }}> <strong style={{ marginRight: '15px' }}>
当前网站已存在地图组件数量( 地图组件数量
{tabPaneItem.existMapComponent < 9 ? (
<span style={{ color: 'red' }}>{tabPaneItem.existMapComponent}</span>
) : (
<span style={{ color: '#1890ff' }}>{tabPaneItem.existMapComponent}</span> <span style={{ color: '#1890ff' }}>{tabPaneItem.existMapComponent}</span>
<span>/</span> )}
<span>{tabPaneItem.mapComponent})</span> {/* <span>/</span>
<span>{tabPaneItem.mapComponent})</span> */}
</strong> </strong>
{tabPaneItem.existMapComponent < 9 && (
<Button type="primary" onClick={() => SyncMap(tabPaneItem)}> <Button type="primary" onClick={() => SyncMap(tabPaneItem)}>
同步地图组件 同步地图组件
</Button> </Button>
)}
</div> </div>
<MenuConfig <MenuConfig
menu={tabPaneItem?.children.find(w => w.menuType === 'Web4MenuRoot')} menu={tabPaneItem?.children.find(w => w.menuType === 'Web4MenuRoot')}
......
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