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
fc6d9569
Commit
fc6d9569
authored
Dec 05, 2019
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
过程、脚本、自定义模块代码抽离功能
parent
9a8fbe71
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
自动整理.jsx
jsx/自动整理.jsx
+5
-2
PropertiesEditor.vue
src/views/Editor/behavior-editor/PropertiesEditor.vue
+1
-1
No files found.
jsx/自动整理.jsx
View file @
fc6d9569
...
...
@@ -54,9 +54,12 @@ function execute(document) {
var
newName
=
layer
.
name
.
replace
(
mergeFlagReg
,
''
);
layer
.
name
=
newName
;
mergeLayers
.
push
(
newName
);
try
{
layer
.
merge
();
mergeLayers
.
push
(
newName
);
}
catch
(
e
)
{
layer
.
merge
();
}
return
1
;
}
else
if
(
layer
.
name
.
match
(
excludeFlagReg
))
{
layer
.
remove
();
...
...
src/views/Editor/behavior-editor/PropertiesEditor.vue
View file @
fc6d9569
...
...
@@ -5,7 +5,7 @@
</el-input>
<el-scrollbar
class=
"scrollbar"
wrap-class=
"wrap-x-hidden"
view-class=
"scrollbar-view"
>
<el-form
v-model=
"process"
size=
"mini"
label-width=
"
8
0px"
label-position=
"left"
@
submit
.
native
.
prevent
>
<el-form
v-model=
"process"
size=
"mini"
label-width=
"
15
0px"
label-position=
"left"
@
submit
.
native
.
prevent
>
<component
v-for=
"(property, key) in process.meta.props"
:is=
"getInput(property)"
v-model=
"process.data.props[key]"
...
...
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