Commit ffce2668 authored by 郭铭瑶's avatar 郭铭瑶 🤘

更新至公共项目

parent 4ee6c475
...@@ -63,7 +63,7 @@ export default defineComponent({ ...@@ -63,7 +63,7 @@ export default defineComponent({
borderColor: colorList[nodeVal.value.nodeLabel], borderColor: colorList[nodeVal.value.nodeLabel],
} }
}) })
const curKey = ref('subjectName') const curKey = ref('')
function setKey(key) { function setKey(key) {
curKey.value = key curKey.value = key
ctx.emit('set', key) ctx.emit('set', key)
......
...@@ -155,7 +155,6 @@ export default { ...@@ -155,7 +155,6 @@ export default {
...graphData.value.nodes, ...graphData.value.nodes,
...nodes.filter( ...nodes.filter(
(node) => (node) =>
node.nodeLabel !== 'Subject' &&
graphData.value.nodes.findIndex((e) => e.id == node.id) < 0 graphData.value.nodes.findIndex((e) => e.id == node.id) < 0
), ),
], ],
......
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