配置语言

This commit is contained in:
lzp
2026-03-03 11:10:43 +08:00
parent 84cc6a5607
commit 0e5b3049b6
11 changed files with 260 additions and 105 deletions

View File

@@ -26,6 +26,7 @@ export class StateManager {
}
constructor(options) {
this.vueFlow = options.vueFlow
this.zoom = ref(1)
this.nodes = ref<NodesItem[]>([]);
this.nodes_ = computed(() => {
return this.nodes.value.map((node, index) => {
@@ -61,7 +62,6 @@ export class StateManager {
return arr
})
this.zoom = ref(1)
}
/** 添加节点 */
addNode(node: NodesItem) {