Commit 41f23df7 authored by 郭铭瑶's avatar 郭铭瑶 🤘

修改新增标签id

parent 6f6f8f5f
......@@ -472,10 +472,11 @@ function submitNewNode(e) {
)
if (curTag) {
obj = {
id: curTag.id,
id: curTag.value,
labelName: null,
}
}
console.log('123', tagOptions.value, item.labelName)
return {
classification: item.classification,
isPositive: item.isPositive,
......@@ -782,7 +783,7 @@ function editNode(e) {
const curTag = tagOptions.value.find((e) => e.value == labelName)
if (curTag) {
obj = {
id: curTag.id,
id: curTag.value,
}
}
params = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment