Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
zeroing-editor
Project
Project
Details
Activity
Releases
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
劳工
zeroing-editor
Commits
013ac38c
Commit
013ac38c
authored
Jun 24, 2020
by
任建锋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--
parent
7288897f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
project.js
src/store/modules/project.js
+1
-1
preview-preprocess.js
src/views/Preview/preview-preprocess.js
+1
-1
No files found.
src/store/modules/project.js
View file @
013ac38c
...
@@ -1065,7 +1065,7 @@ function resetScrollType(data) {
...
@@ -1065,7 +1065,7 @@ function resetScrollType(data) {
}
}
if
(
data
.
children
)
{
if
(
data
.
children
)
{
for
(
let
i
=
0
;
i
<
data
.
children
.
length
;
i
++
){
for
(
let
i
=
0
;
i
<
data
.
children
.
length
;
i
++
){
this
.
resetScrollType
(
data
.
children
[
i
])
resetScrollType
(
data
.
children
[
i
])
}
}
}
}
}
}
...
...
src/views/Preview/preview-preprocess.js
View file @
013ac38c
...
@@ -82,7 +82,7 @@ export async function preprocess(project, packages) {
...
@@ -82,7 +82,7 @@ export async function preprocess(project, packages) {
}
}
if
(
data
.
children
){
if
(
data
.
children
){
for
(
let
i
=
0
;
i
<
data
.
children
.
length
;
i
++
){
for
(
let
i
=
0
;
i
<
data
.
children
.
length
;
i
++
){
this
.
resetScrollType
(
data
.
children
[
i
])
resetScrollType
(
data
.
children
[
i
])
}
}
}
}
}
}
...
...
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