Commit 469538c9 authored by 郭铭瑶's avatar 郭铭瑶 🤘

提交后更新标签选项

parent 41f23df7
...@@ -476,7 +476,6 @@ function submitNewNode(e) { ...@@ -476,7 +476,6 @@ function submitNewNode(e) {
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,
...@@ -491,6 +490,7 @@ function submitNewNode(e) { ...@@ -491,6 +490,7 @@ function submitNewNode(e) {
nodeId, nodeId,
nodeLabel: 'Subject', nodeLabel: 'Subject',
}) })
fetchTags()
isLoading.value = false isLoading.value = false
showDrawer.value = false showDrawer.value = false
message.success('新增成功') message.success('新增成功')
...@@ -809,6 +809,7 @@ function editNode(e) { ...@@ -809,6 +809,7 @@ function editNode(e) {
} }
}) })
d3Ref.value.updateGraph(graphData.value) d3Ref.value.updateGraph(graphData.value)
fetchTags()
isLoading.value = false isLoading.value = false
showEditDrawer.value = false showEditDrawer.value = false
message.success('编辑成功') message.success('编辑成功')
......
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