添加快捷键

This commit is contained in:
lzp
2026-03-05 14:25:08 +08:00
parent 232cac5805
commit 66694fbcfa
7 changed files with 55 additions and 12 deletions

View File

@@ -56,7 +56,7 @@
<script setup lang="ts">
import { VueFlow, useVueFlow } from '@vue-flow/core'
import { computed, ref, markRaw, onMounted, reactive, nextTick, provide } from 'vue'
import { computed, ref, markRaw, onMounted, nextTick, provide, onBeforeMount } from 'vue'
import { useLayout } from '@/utils/treeDiagram'
import { NODE_TYPE, NODE_COMPONENT } from './tools/index.d'
// 组件
@@ -193,15 +193,9 @@
}
}
})
nodeManager.createResultNode({
data: {
disableDelete: true,
isHeader: false,
data: {
url: props.config.url
}
}
})
})
onBeforeMount(() => {
eventManager.removeEvents() // 移除事件
})
</script>
<style lang="less">