21 lines
367 B
Vue
21 lines
367 B
Vue
![]() |
<template>
|
||
|
<div class="node-code"></div>
|
||
|
</template>
|
||
|
|
||
|
<script lang="ts" setup name="node-code">
|
||
|
import type { FlowNode } from "/$/flow/types";
|
||
|
import type { PropType } from "vue";
|
||
|
|
||
|
const props = defineProps({
|
||
|
node: {
|
||
|
type: Object as PropType<FlowNode>,
|
||
|
default: () => ({})
|
||
|
},
|
||
|
// 节点是否聚焦
|
||
|
focus: {
|
||
|
type: Boolean,
|
||
|
default: false
|
||
|
}
|
||
|
});
|
||
|
</script>
|