Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
LST-06
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
LST-06
Commits
60506c8f
Commit
60506c8f
authored
Nov 16, 2020
by
Chen Jiping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:删除滚动设置
parent
01fc65fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
form.component.ts
src/app/form/form.component.ts
+0
-8
No files found.
src/app/form/form.component.ts
View file @
60506c8f
...
...
@@ -102,14 +102,6 @@ export class FormComponent implements OnInit, OnChanges, OnDestroy {
item
[
key
]
=
[...
item
[
key
],
exercises
];
this
.
save
();
var
ele
=
document
.
getElementById
(
"
content
"
);
console
.
log
(
ele
.
scrollHeight
,
ele
.
clientHeight
,
ele
.
scrollTop
)
//判断元素是否出现了滚动条
if
(
ele
.
scrollHeight
>
ele
.
clientHeight
)
{
//设置滚动条到最底部
ele
.
scrollTop
=
ele
.
scrollHeight
;
}
}
deleteExercises
(
item
,
key
,
index
)
{
...
...
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