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

提交后更新标签选项

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