Skip to content

Commit

Permalink
docs: format code block comments (#2831) (#2016)
Browse files Browse the repository at this point in the history
Co-authored-by: DY_XiaoDong <[email protected]>
  • Loading branch information
jay-es and xiaodong2008 committed Apr 26, 2024
1 parent b846796 commit b5656c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/guide/components/v-model.md
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 b5656c8

Please sign in to comment.