Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
R
relation-graph
Project
Project
Details
Activity
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
郭铭瑶
relation-graph
Commits
41f23df7
Commit
41f23df7
authored
Aug 25, 2021
by
郭铭瑶
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改新增标签id
parent
6f6f8f5f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
main.vue
src/components/main.vue
+3
-2
No files found.
src/components/main.vue
View file @
41f23df7
...
@@ -472,10 +472,11 @@ function submitNewNode(e) {
...
@@ -472,10 +472,11 @@ function submitNewNode(e) {
)
)
if
(
curTag
)
{
if
(
curTag
)
{
obj
=
{
obj
=
{
id
:
curTag
.
id
,
id
:
curTag
.
value
,
labelName
:
null
,
labelName
:
null
,
}
}
}
}
console
.
log
(
'123'
,
tagOptions
.
value
,
item
.
labelName
)
return
{
return
{
classification
:
item
.
classification
,
classification
:
item
.
classification
,
isPositive
:
item
.
isPositive
,
isPositive
:
item
.
isPositive
,
...
@@ -782,7 +783,7 @@ function editNode(e) {
...
@@ -782,7 +783,7 @@ function editNode(e) {
const
curTag
=
tagOptions
.
value
.
find
((
e
)
=>
e
.
value
==
labelName
)
const
curTag
=
tagOptions
.
value
.
find
((
e
)
=>
e
.
value
==
labelName
)
if
(
curTag
)
{
if
(
curTag
)
{
obj
=
{
obj
=
{
id
:
curTag
.
id
,
id
:
curTag
.
value
,
}
}
}
}
params
=
{
params
=
{
...
...
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