Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivManage
Commits
db87f192
Commit
db87f192
authored
Nov 09, 2022
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 'web搭建同步地图组件'
parent
d32ac6a6
Pipeline
#63430
waiting for manual action with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
8 deletions
+16
-8
index.jsx
src/pages/productCenter/webConfig/index.jsx
+16
-8
No files found.
src/pages/productCenter/webConfig/index.jsx
View file @
db87f192
...
@@ -342,24 +342,32 @@ const WebConfigPage = props => {
...
@@ -342,24 +342,32 @@ const WebConfigPage = props => {
<
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'
}
}
>
地图组件数量
地图组件数量
{
console
.
log
(
tabPaneItem
)
}
{
tabPaneItem
.
existMapComponent
<
9
?
(
{
tabPaneItem
.
existMapComponent
<
9
?
(
<
Tooltip
title=
"点击一键修复"
placement=
"topRight"
>
<
Tooltip
title=
"点击一键修复"
placement=
"topRight"
>
<
span
style=
{
{
color
:
'red'
}
}
onClick=
{
()
=>
SyncMap
(
tabPaneItem
)
}
>
<
span
style=
{
{
color
:
'red'
}
}
onClick=
{
()
=>
SyncMap
(
tabPaneItem
)
}
>
{
tabPaneItem
.
existMapComponent
}
{
tabPaneItem
.
existMapComponent
}
</
span
>
</
span
>
/
<
span
style=
{
{
color
:
'#1890ff'
}
}
>
{
tabPaneItem
.
mapComponent
}
</
span
>
/
<
span
style=
{
{
color
:
'#1890ff'
}
}
onClick=
{
()
=>
SyncMap
(
tabPaneItem
)
}
>
{
tabPaneItem
.
mapComponent
}
</
span
>
</
Tooltip
>
</
Tooltip
>
)
:
(
)
:
(
<>
<
Tooltip
title=
"点击同步地图组件"
placement=
"topRight"
>
<
span
style=
{
{
color
:
'#1890ff'
}
}
>
{
tabPaneItem
.
existMapComponent
}
</
span
>
<
span
style=
{
{
color
:
'#1890ff'
}
}
onClick=
{
()
=>
SyncMap
(
tabPaneItem
)
}
>
{
tabPaneItem
.
existMapComponent
}
</
span
>
<
span
>
/
</
span
>
<
span
>
/
</
span
>
{
tabPaneItem
.
existMapComponent
!==
9
?
(
{
tabPaneItem
.
existMapComponent
!==
9
?
(
<
span
style=
{
{
color
:
'#1890ff'
}
}
>
{
tabPaneItem
.
existMapComponent
}
</
span
>
<
span
style=
{
{
color
:
'#1890ff'
}
}
onClick=
{
()
=>
SyncMap
(
tabPaneItem
)
}
>
{
tabPaneItem
.
existMapComponent
}
</
span
>
)
:
(
)
:
(
<
span
style=
{
{
color
:
'#1890ff'
}
}
>
{
tabPaneItem
.
mapComponent
}
</
span
>
<
span
style=
{
{
color
:
'#1890ff'
}
}
onClick=
{
()
=>
SyncMap
(
tabPaneItem
)
}
>
{
tabPaneItem
.
mapComponent
}
</
span
>
)
}
)
}
</>
</
Tooltip
>
)
}
)
}
</
strong
>
</
strong
>
{
/* {tabPaneItem.existMapComponent < 9 && (
{
/* {tabPaneItem.existMapComponent < 9 && (
...
@@ -425,7 +433,7 @@ const WebConfigPage = props => {
...
@@ -425,7 +433,7 @@ const WebConfigPage = props => {
type=
"editable-card"
type=
"editable-card"
onEdit=
{
onEdit
}
onEdit=
{
onEdit
}
onChange=
{
handleTabChange
}
onChange=
{
handleTabChange
}
activeKey=
{
curWeb
.
id
}
activeKey=
{
curWeb
&&
curWeb
.
id
}
style=
{
{
style=
{
{
display
:
'flex'
,
display
:
'flex'
,
alignContent
:
'center'
,
alignContent
:
'center'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment