docs: correct template syntax (#1797)

* Update getting-started.md

Fix the incorrect Mustache syntax in the example

* Update getting-started.md

* Update getting-started.md
This commit is contained in:
WangXiaolong
2025-03-30 23:12:20 +08:00
committed by GitHub
parent 606b6d64b4
commit 8f5f573815

View File

@@ -219,7 +219,7 @@ const y = computed(() => `${Math.round(props.position.y)}px`)
<div>{{ data.label }}</div>
<div>
{x} {y}
{{ x }} {{ y }}
</div>
<Handle type="source" :position="Position.Bottom" />
@@ -418,7 +418,7 @@ const y = computed(() => `${Math.round(props.position.y)}px`)
<div>{{ data.label }}</div>
<div>
{x} {y}
{{ x }} {{ y }}
</div>
<Handle type="source" :position="Position.Bottom" />