Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
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
103ba0cc
authored
2025-06-26 09:39:51 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 关系网
1 parent
88d2782b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
src/components/RelationNetwork/index.vue
src/components/RelationNetwork/index.vue
View file @
103ba0c
...
...
@@ -335,6 +335,22 @@ onMounted(() => {
const
observeResize
=
()
=>
{
resizeObserver
.
value
=
new
ResizeObserver
(()
=>
{
let
domWidth
=
document
.
documentElement
.
clientWidth
;
if
(
lastSelectNode
.
value
)
{
tooltip1Ref
.
value
.
style
.
display
=
'none'
;
graphRef
.
value
.
updateItem
(
lastSelectNode
.
value
,
{
labelCfg
:
{
style
:
{
fill
:
'#212121'
,
},
},
style
:
{
stroke
:
'#4fa1a4'
,
fill
:
'#ebf6f7'
,
cursor
:
'pointer'
}
});
}
lastSelectNode
.
value
=
null
;
if
(
domWidth
<
992
)
{
//根据setting.ts里的设置,小于992,会隐藏左边的菜单栏,
setTimeout
(()
=>
{
const
container
:
any
=
containerRef
.
value
;
...
...
@@ -591,6 +607,7 @@ defineExpose({
margin-top
:
8px
;
font-size
:
14px
;
color
:
#666666
;
word-break
:
break-all
;
line-height
:
21px
;
}
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment