123456789101112131415161718192021222324252627282930313233343536 |
- <template>
- <div class="">
- <div
- class="mb-2 text-xs opacity-85"
- v-if="state.nodeData.modelConfig?.pluginInstanceName"
- >
- {{ state.nodeData.modelConfig.pluginInstanceName }}
- </div>
- </div>
- </template>
- <script setup lang="ts">
- import {
- computed,
- getCurrentInstance,
- inject,
- onMounted,
- reactive,
- ref,
- } from 'vue'
- const emit = defineEmits([])
- const props = defineProps({
- node: <any>{},
- })
- const { proxy }: any = getCurrentInstance()
- const state: any = reactive({
- nodeData: {},
- })
- onMounted(() => {
- state.nodeData = props.node.data.workflowData
- })
- </script>
- <style lang="scss" scoped></style>
|