From 70ca08a22a1271c96e8cfe20c6242a57f461079a Mon Sep 17 00:00:00 2001 From: Kirill Safarchev <83013244+klirii@users.noreply.github.com> Date: Fri, 28 Mar 2025 05:13:42 +0400 Subject: [PATCH] Update template-refs.md Translation of comments in the code and the last note in Russian --- src/guide/essentials/template-refs.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/guide/essentials/template-refs.md b/src/guide/essentials/template-refs.md index 45ae1c7b..1ed0f3ba 100644 --- a/src/guide/essentials/template-refs.md +++ b/src/guide/essentials/template-refs.md @@ -18,7 +18,7 @@ @@ -314,7 +314,7 @@ defineExpose({ Когда родитель получает экземпляр этого компонента через ссылки шаблона, полученный экземпляр будет иметь вид `{ a: number, b: number }` (ссылки автоматически разворачиваются, как и для обычных экземпляров). -Note that defineExpose must be called before any await operation. Otherwise, properties and methods exposed after the await operation will not be accessible. +Обратите внимание, что defineExpose должен вызываться перед любой операцией await. В противном случае свойства и методы, раскрытые после операции await, будут недоступны. См. также: [Типизированные ссылки на шаблоны компонентов](/guide/typescript/composition-api#typing-component-template-refs)