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
05a560fa
Commit
05a560fa
authored
May 16, 2020
by
rockyl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复过程转换问题
parent
810c0a4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
behavior.js
src/store/modules/behavior.js
+3
-1
ProcessNode.vue
src/views/Editor/behavior-editor/Board/ProcessNode.vue
+1
-1
No files found.
src/store/modules/behavior.js
View file @
05a560fa
...
...
@@ -119,7 +119,9 @@ export const behaviorStore = {
newMeta
.
id
=
newUUID
;
newMeta
.
isInline
=
true
;
Vue
.
set
(
parentMeta
,
'metas'
,
[]);
if
(
!
parentMeta
.
metas
){
Vue
.
set
(
parentMeta
,
'metas'
,
[]);
}
parentMeta
.
metas
.
push
(
newMeta
);
process
.
metaID
=
newUUID
;
}
...
...
src/views/Editor/behavior-editor/Board/ProcessNode.vue
View file @
05a560fa
...
...
@@ -4,7 +4,7 @@
@mouseenter="onMouseEnter"
@mouseleave="onMouseLeave" @click="onClick" @dblclick="onDblclick">
<div
class=
"top-bar"
v-if=
"meta.id !== 'entry' && editable"
>
<el-link
icon=
"el-icon-magic-stick"
:underline=
"false"
v-if=
"
false &&
meta.type !== 'builtin'"
@
mousedown
.
stop
.
prevent
@
click
.
stop=
"onClickTransform"
/>
<el-link
icon=
"el-icon-magic-stick"
:underline=
"false"
v-if=
"meta.type !== 'builtin'"
@
mousedown
.
stop
.
prevent
@
click
.
stop=
"onClickTransform"
/>
<el-link
icon=
"el-icon-delete"
:underline=
"false"
@
mousedown
.
stop
.
prevent
@
click
.
stop=
"onClickDelete"
/>
<el-link
icon=
"el-icon-edit"
:underline=
"false"
v-if=
"meta.type !== 'builtin' && !meta.isDivider"
@
mousedown
.
stop
.
prevent
@
click
.
stop=
"onClickEdit"
/>
...
...
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