Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-components
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
wisdom-components
Commits
6a982049
Commit
6a982049
authored
Feb 24, 2023
by
李纪文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改组态弹出模态
parent
74f9fbea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
index.js
packages/extend-components/EC_ConfigurationView/src/index.js
+2
-2
index.less
...ges/extend-components/EC_ConfigurationView/src/index.less
+1
-0
No files found.
packages/extend-components/EC_ConfigurationView/src/index.js
View file @
6a982049
...
...
@@ -2241,7 +2241,7 @@ const ConfigurationView = (props) => {
{
isJumpModalVisible
&&
jumpModalProps
&&
(
<
DragModal
centered
width
=
{
jumpModalProps
.
width
?
`
${
jumpModalProps
.
width
}
px`
:
'100
%
'
}
width
=
{
jumpModalProps
.
width
?
`
${
jumpModalProps
.
width
}
px`
:
'100
vw
'
}
title
=
{
jumpModalProps
.
title
}
footer
=
{
null
}
visible
=
{
isJumpModalVisible
}
...
...
@@ -2252,7 +2252,7 @@ const ConfigurationView = (props) => {
componentPrefix
=
{
componentPrefix
}
destroyOnClose
=
{
true
}
style
=
{{
height
:
jumpModalProps
.
height
?
`
${
Number
(
jumpModalProps
.
height
)
+
103
}
px`
:
'100
%
'
,
height
:
jumpModalProps
.
height
?
`
${
Number
(
jumpModalProps
.
height
)
+
103
}
px`
:
'100
vh
'
,
left
:
`calc(50% -
${
jumpModalProps
.
width
?
jumpModalProps
.
width
/
2
+
'px'
:
'50%'
}
)`
,
top
:
`calc(50% -
${
jumpModalProps
.
height
?
(
Number
(
jumpModalProps
.
height
)
+
103
)
/
2
+
'px'
:
'50%'
...
...
packages/extend-components/EC_ConfigurationView/src/index.less
View file @
6a982049
...
...
@@ -236,6 +236,7 @@
.@{ant-prefix}-modal,
.@{ant-prefix}-modal-content {
max-width: 100%;
background: #282d3b;
}
...
...
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