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
edab8329
Commit
edab8329
authored
May 27, 2020
by
任建锋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--
parent
ef8a957f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
drawCanvasPanel.vue
src/views/Editor/components/drawCanvasPanel.vue
+3
-0
editControlView.vue
src/views/Editor/components/editControlView.vue
+3
-0
No files found.
src/views/Editor/components/drawCanvasPanel.vue
View file @
edab8329
...
@@ -93,6 +93,9 @@
...
@@ -93,6 +93,9 @@
return
url
return
url
},
},
getNode
(
type
)
{
getNode
(
type
)
{
if
(
!
this
.
$refs
.
runtimeLayer
){
return
;
}
if
(
type
==
"end"
){
if
(
type
==
"end"
){
this
.
targetNode
=
this
.
$refs
.
runtimeLayer
.
getNode
(
this
.
nodePath
);
this
.
targetNode
=
this
.
$refs
.
runtimeLayer
.
getNode
(
this
.
nodePath
);
//console.log("this.targetNode",this.targetNode)
//console.log("this.targetNode",this.targetNode)
...
...
src/views/Editor/components/editControlView.vue
View file @
edab8329
...
@@ -410,6 +410,9 @@ export default {
...
@@ -410,6 +410,9 @@ export default {
},
},
targetNode
:
function
(){
targetNode
:
function
(){
console
.
log
(
"targetNode变化"
,
this
.
targetNode
)
console
.
log
(
"targetNode变化"
,
this
.
targetNode
)
if
(
!
this
.
targetNode
){
return
}
let
{
let
{
x
,
x
,
y
,
y
,
...
...
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