Skip to content
Merged

typo. #3014

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/guide/components/v-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const emit = defineEmits(['update:modelValue'])

<template>
<input
:value="modelValue"
:value="props.modelValue"
@input="emit('update:modelValue', $event.target.value)"
/>
</template>
Expand Down Expand Up @@ -445,7 +445,7 @@ function emitValue(e) {
</script>

<template>
<input type="text" :value="modelValue" @input="emitValue" />
<input type="text" :value="props.modelValue" @input="emitValue" />
</template>
```

Expand Down