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
7288897f
Commit
7288897f
authored
Jun 24, 2020
by
任建锋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改editScrollView重置
parent
6bf68338
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
13 deletions
+13
-13
config.js
src/config.js
+1
-1
project.js
src/store/modules/project.js
+3
-3
PropsTab.vue
src/views/Editor/Inspector/PropsTab.vue
+2
-2
Views.vue
src/views/Editor/Views.vue
+2
-2
drawCanvasPanel.vue
src/views/Editor/components/drawCanvasPanel.vue
+3
-3
preview-preprocess.js
src/views/Preview/preview-preprocess.js
+2
-2
No files found.
src/config.js
View file @
7288897f
...
...
@@ -6,7 +6,7 @@ export let API_HOST;
if
(
process
.
env
.
NODE_ENV
===
'development'
)
{
//API_HOST = '//10.10.95.74:7777';
//API_HOST = '//192.168.1.16:7777';
API_HOST
=
'//
0.0.0.
0:3000'
;
API_HOST
=
'//
10.10.30.10
0:3000'
;
//API_HOST = '//192.168.0.105:7777';
//API_HOST = '//localhost:8080';
//API_HOST = window.__data.apiHost;
...
...
src/store/modules/project.js
View file @
7288897f
...
...
@@ -1064,8 +1064,8 @@ function resetScrollType(data) {
data
.
type
=
"scrollView"
}
if
(
data
.
children
)
{
for
(
let
itme
of
data
.
children
)
{
resetScrollType
(
itme
)
for
(
let
i
=
0
;
i
<
data
.
children
.
length
;
i
++
)
{
this
.
resetScrollType
(
data
.
children
[
i
]
)
}
}
}
...
...
src/views/Editor/Inspector/PropsTab.vue
View file @
7288897f
...
...
@@ -122,8 +122,8 @@
data
.
type
=
"scrollView"
}
if
(
data
.
children
){
for
(
let
itme
of
data
.
children
){
this
.
resetScrollType
(
itme
)
for
(
let
i
=
0
;
i
<
data
.
children
.
length
;
i
++
){
this
.
resetScrollType
(
data
.
children
[
i
]
)
}
}
},
...
...
src/views/Editor/Views.vue
View file @
7288897f
...
...
@@ -136,8 +136,8 @@
data
.
type
=
"scrollView"
}
if
(
data
.
children
)
{
for
(
let
itme
of
data
.
children
)
{
this
.
resetScrollType
(
itme
)
for
(
let
i
=
0
;
i
<
data
.
children
.
length
;
i
++
)
{
this
.
resetScrollType
(
data
.
children
[
i
]
)
}
}
//console.log("1122334")
...
...
src/views/Editor/components/drawCanvasPanel.vue
View file @
7288897f
...
...
@@ -73,8 +73,8 @@
data
.
type
=
"scrollView"
}
if
(
data
.
children
){
for
(
let
itme
of
data
.
children
){
this
.
resetScrollType
(
itme
)
for
(
let
i
=
0
;
i
<
data
.
children
.
length
;
i
++
){
this
.
resetScrollType
(
data
.
children
[
i
]
)
}
}
},
...
...
src/views/Preview/preview-preprocess.js
View file @
7288897f
...
...
@@ -81,8 +81,8 @@ export async function preprocess(project, packages) {
data
.
type
=
"scrollView"
}
if
(
data
.
children
){
for
(
let
i
tme
of
data
.
children
){
resetScrollType
(
itme
)
for
(
let
i
=
0
;
i
<
data
.
children
.
length
;
i
++
){
this
.
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