Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
xiaofang li
MeterSphere
Commits
73bde253
Commit
73bde253
authored
3 years ago
by
chenjianxing
Committed by
jianxing
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
fix: 编辑场景滑动滚动条控制台报错
parent
b3db4f3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
frontend/src/business/components/api/automation/scenario/EditApiScenario.vue
+8
-6
...ss/components/api/automation/scenario/EditApiScenario.vue
with
8 additions
and
6 deletions
+8
-6
frontend/src/business/components/api/automation/scenario/EditApiScenario.vue
+
8
-
6
View file @
73bde253
...
@@ -1285,12 +1285,14 @@ export default {
...
@@ -1285,12 +1285,14 @@ export default {
handleScroll
()
{
handleScroll
()
{
let
stepInfo
=
this
.
$refs
.
stepInfo
;
let
stepInfo
=
this
.
$refs
.
stepInfo
;
let
debugHeader
=
this
.
$refs
.
debugHeader
;
let
debugHeader
=
this
.
$refs
.
debugHeader
;
let
originWidth
=
debugHeader
.
clientWidth
;
if
(
debugHeader
)
{
if
(
stepInfo
.
getBoundingClientRect
().
top
<=
178
)
{
let
originWidth
=
debugHeader
.
clientWidth
;
this
.
isTop
=
true
;
if
(
stepInfo
.
getBoundingClientRect
().
top
<=
178
)
{
debugHeader
.
style
.
width
=
originWidth
+
'
px
'
;
this
.
isTop
=
true
;
}
else
{
debugHeader
.
style
.
width
=
originWidth
+
'
px
'
;
this
.
isTop
=
false
;
}
else
{
this
.
isTop
=
false
;
}
}
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help