Skip to content

Commit

Permalink
docs: format code block comments (#2831)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaodong2008 authored and jay-es committed Apr 26, 2024
1 parent 20e0761 commit 536a3ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/guide/components/v-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ const [firstName, firstNameModifiers] = defineModel('firstName')
const [lastName, lastNameModifiers] = defineModel('lastName')
console.log(firstNameModifiers) // { capitalize: true }
console.log(lastNameModifiers) // { uppercase: true}
console.log(lastNameModifiers) // { uppercase: true }
</script>
```

Expand All @@ -565,7 +565,7 @@ lastNameModifiers: { default: () => ({}) }
defineEmits(['update:firstName', 'update:lastName'])
console.log(props.firstNameModifiers) // { capitalize: true }
console.log(props.lastNameModifiers) // { uppercase: true}
console.log(props.lastNameModifiers) // { uppercase: true }
</script>
```

Expand Down

0 comments on commit 536a3ef

Please sign in to comment.