update
Some checks failed
Deploy / deploy (push) Has been cancelled

This commit is contained in:
2025-10-13 15:18:14 +08:00
parent 854b1f0769
commit 6f1720acd5
17 changed files with 248 additions and 184 deletions

View File

@@ -81,7 +81,7 @@ const handleSyncStatusChange = (status: {
}
// 提供FlowchartEditor的ref给子组件
provide('flowchartEditorRef', flowchartEditorRef)
provide("flowchartEditorRef", flowchartEditorRef)
</script>
<template>
@@ -93,7 +93,10 @@ provide('flowchartEditorRef', flowchartEditorRef)
@change-language="changeLanguage"
@toggle-sync="toggleSync"
/>
<FlowchartEditor v-if="codeStore.code.language === 'Flowchart'" ref="flowchartEditorRef" />
<FlowchartEditor
v-if="codeStore.code.language === 'Flowchart'"
ref="flowchartEditorRef"
/>
<SyncCodeEditor
v-else
v-model:value="codeStore.code.value"