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 Apr 26, 2024
1 parent 7d47441 commit 21cd803
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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 All @@ -589,7 +589,7 @@ export default {
emits: ['update:firstName', 'update:lastName'],
created() {
console.log(this.firstNameModifiers) // { capitalize: true }
console.log(this.lastNameModifiers) // { uppercase: true}
console.log(this.lastNameModifiers) // { uppercase: true }
}
}
</script>
Expand Down

0 comments on commit 21cd803

Please sign in to comment.