Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xxx_phase2_web
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
夏敏伟
xxx_phase2_web
Commits
4c13a13d
Commit
4c13a13d
authored
Aug 28, 2023
by
夏敏伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改连线bug
parent
653cfc5c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
7 deletions
+16
-7
src/view/homepage.vue
src/view/homepage.vue
+16
-7
No files found.
src/view/homepage.vue
View file @
4c13a13d
...
...
@@ -66,7 +66,8 @@ export default {
{
id
:
5
,
title
:
'
学习训练模块
'
,
eg
:
'
Learning And Training Module
'
},
{
id
:
6
,
title
:
'
新技术实验模块
'
,
eg
:
'
New Technology Experiment Module
'
},
]
}
},
line1
:
null
}
},
methods
:
{
...
...
@@ -96,37 +97,45 @@ export default {
startSocket
:
'
left
'
,
endSocket
:
'
right
'
}
new
LeaderLine
(
{
this
.
line1
=
new
LeaderLine
(
{
...
styleOption1
,
start
:
document
.
getElementById
(
'
left0
'
),
end
:
document
.
getElementById
(
'
left11
'
),
});
new
LeaderLine
(
{
this
.
line2
=
new
LeaderLine
(
{
...
styleOption1
,
start
:
document
.
getElementById
(
'
left1
'
),
end
:
document
.
getElementById
(
'
left22
'
),
});
new
LeaderLine
(
{
this
.
line3
=
new
LeaderLine
(
{
...
styleOption1
,
start
:
document
.
getElementById
(
'
left2
'
),
end
:
document
.
getElementById
(
'
left33
'
),
});
new
LeaderLine
(
{
this
.
line4
=
new
LeaderLine
(
{
...
styleOption2
,
start
:
document
.
getElementById
(
'
right0
'
),
end
:
document
.
getElementById
(
'
right11
'
),
});
new
LeaderLine
(
{
this
.
line5
=
new
LeaderLine
(
{
...
styleOption2
,
start
:
document
.
getElementById
(
'
right1
'
),
end
:
document
.
getElementById
(
'
right22
'
),
});
new
LeaderLine
(
{
this
.
line6
=
new
LeaderLine
(
{
...
styleOption2
,
start
:
document
.
getElementById
(
'
right2
'
),
end
:
document
.
getElementById
(
'
right33
'
),
});
})
},
deactivated
(){
this
.
line1
.
remove
();
this
.
line2
.
remove
();
this
.
line3
.
remove
();
this
.
line4
.
remove
();
this
.
line5
.
remove
();
this
.
line6
.
remove
();
}
}
</
script
>
...
...
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