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
c41fc04e
authored
2025-06-27 17:56:29 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复关系网右键菜单问题
1 parent
4f47f3ae
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
src/views/data_meta/standard-query-view.vue
src/views/data_meta/standard-query.vue
src/views/data_meta/standard.vue
src/views/data_meta/standard-query-view.vue
View file @
c41fc04
...
...
@@ -143,7 +143,8 @@ const handleContextMenu = (model) => {
router
.
push
({
name
:
'metadataStandard'
,
query
:
{
standardGuid
:
model
.
guid
standardGuid
:
model
.
guid
,
name
:
model
.
standardName
}
});
}
...
...
src/views/data_meta/standard-query.vue
View file @
c41fc04
...
...
@@ -80,7 +80,7 @@ const treeDataLoading = ref(false);
const
nodeClick
=
(
data
)
=>
{
const
ele
=
<
HTMLElement
>
document
.
querySelector
(
".g6-component-contextmenu"
)
if
(
ele
)
{
ele
.
style
.
display
=
"none
"
ele
.
style
.
visibility
=
"hidden
"
}
if
(
data
.
disabled
)
{
treeInfo
.
value
.
currentNodeKey
=
data
.
guid
;
...
...
src/views/data_meta/standard.vue
View file @
c41fc04
...
...
@@ -463,6 +463,12 @@ function batchDelete () {
onActivated
(()
=>
{
if
(
route
.
query
.
standardGuid
)
{
treeInfo
.
value
.
currentNodeKey
=
route
.
query
.
standardGuid
as
string
;
let
obj
=
{
guid
:
route
.
query
.
standardGuid
,
standardName
:
route
.
query
.
name
}
treeInfo
.
value
.
currentObj
=
obj
;
nodeClick
(
obj
);
}
})
...
...
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