Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
IT-monitor
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
张伯涛
IT-monitor
Commits
ca1aca17
Commit
ca1aca17
authored
May 30, 2022
by
Asjoker
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修改 拓扑图样式覆盖问题
parent
8aff47fb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
test.vue
src/views/pages/test.vue
+4
-5
No files found.
src/views/pages/test.vue
View file @
ca1aca17
...
@@ -4,11 +4,11 @@
...
@@ -4,11 +4,11 @@
<el-header>
Header
</el-header>
<el-header>
Header
</el-header>
<el-container>
<el-container>
<el-aside
width=
"200px"
>
Aside
</el-aside>
<el-aside
width=
"200px"
>
Aside
</el-aside>
<el-main>
<el-main
class=
"thisMain"
>
<el-button
type=
"primary"
@
click=
"changeMode('default')"
>
默认
</el-button>
<el-button
type=
"primary"
@
click=
"changeMode('default')"
>
默认
</el-button>
<el-button
type=
"primary"
@
click=
"changeMode('addNode')"
>
添加节点
</el-button>
<el-button
type=
"primary"
@
click=
"changeMode('addNode')"
>
添加节点
</el-button>
<el-button
type=
"primary"
@
click=
"changeMode('addEdge')"
>
添加连线
</el-button>
<el-button
type=
"primary"
@
click=
"changeMode('addEdge')"
>
添加连线
</el-button>
<div
id=
"cy-topology"
></div
>
<div
id=
"cy-topology"
/
>
</el-main>
</el-main>
</el-container>
</el-container>
</el-container>
</el-container>
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
import
G6
from
'@antv/g6'
import
G6
from
'@antv/g6'
export
default
{
export
default
{
name
:
'
a
bout'
,
name
:
'
A
bout'
,
components
:
{},
components
:
{},
data
()
{
data
()
{
return
{
return
{
...
@@ -133,7 +133,6 @@ export default {
...
@@ -133,7 +133,6 @@ export default {
}
}
}
}
})
})
},
},
changeMode
(
value
)
{
changeMode
(
value
)
{
this
.
graph
.
setMode
(
value
)
this
.
graph
.
setMode
(
value
)
...
@@ -157,7 +156,7 @@ export default {
...
@@ -157,7 +156,7 @@ export default {
line-height
:
200px
;
line-height
:
200px
;
}
}
.
el-m
ain
{
.
thisM
ain
{
background-color
:
#E9EEF3
;
background-color
:
#E9EEF3
;
color
:
#333
;
color
:
#333
;
text-align
:
center
;
text-align
:
center
;
...
...
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