From 51f3fee45be61a5eb3e39b4ca4f62890abf1038c Mon Sep 17 00:00:00 2001 From: Ivan Bochkarev Date: Tue, 13 Feb 2024 11:17:34 +0600 Subject: [PATCH] =?UTF-8?q?(feat)=20=D0=9F=D0=B5=D1=80=D0=B5=D0=B2=D0=BE?= =?UTF-8?q?=D0=B4=20=D0=BA=D0=BE=D0=BC=D0=BC=D0=B5=D0=BD=D1=82=D0=B0=D1=80?= =?UTF-8?q?=D0=B8=D0=B5=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/guide/components/v-model.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/guide/components/v-model.md b/src/guide/components/v-model.md index db113564..459e2680 100644 --- a/src/guide/components/v-model.md +++ b/src/guide/components/v-model.md @@ -90,10 +90,10 @@ const model = defineModel({ default: 0 }) If you have a `default` value for `defineModel` prop and you don't provide any value for this prop from the parent component, it can cause a de-synchronization between parent and child components. In the example below, the parent's `myRef` is undefined, but the child's `model` is 1: ```js -// child component: +// дочерний компонент: const model = defineModel({ default: 1 }) -// parent component: +// родительский компонент: const myRef = ref() ```