Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
5110c733
authored
2020-12-08 08:48:40 +0800
by
zhaoqian
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
高度
1 parent
ac889566
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
21 deletions
src/views/zd/lshs/index.vue
src/views/zd/lshs/index.vue
View file @
5110c73
...
...
@@ -141,7 +141,7 @@ export default {
console
.
log
(
container
)
const
graph
=
new
G6
.
Graph
({
container
:
'mountNode'
,
width
:
1000
,
width
:
eWidth
,
height
:
1000
,
layout
:
{
type
:
'dagre'
,
...
...
@@ -190,25 +190,6 @@ export default {
],
},
// modes: {
// default: [
// 'drag-canvas',
// 'zoom-canvas',
// 'click-select',
// {
// type: 'tooltip',
// formatText(model) {
// const cfg = model.conf;
// const text = [];
// cfg.forEach((row) => {
// text.push(row.label + ':' + row.value + '<br>');
// });
// return text.join('\n');
// },
// offset: -30,
// },
// ],
// },
fitView
:
true
,
});
...
...
@@ -295,7 +276,8 @@ export default {
}
#mountNode
{
height
:
calc
(
100%
-
68px
);
/*height: calc(100% - 68px);*/
margin-top
:
-60px
;
}
.slot
{
...
...
Please
register
or
sign in
to post a comment