Skip to content

Brief syntax cleanup #2678

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion docs/fr/guide/essentials/passing-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Nous allons détailler les fonctionnalités ci-dessus en construisant un composa
<script setup>
import { ref } from 'vue'
const password = ref('')
<script>
</script>

<template>
<div>
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/essentials/event-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Let's recap and break down the output of `emitted()`. Each of these keys contain

```js
// console.log(wrapper.emitted('increment'))
;[
[
[1], // first time it is called, `count` is 1
[2] // second time it is called, `count` is 2
]
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/essentials/passing-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ We will demonstrate the above features by building a `<Password>` component. Thi
<script setup>
import { ref } from 'vue'
const password = ref('')
<script>
</script>

<template>
<div>
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/guide/essentials/event-handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ test('emits an event with count when clicked', () => {

```js
// console.log(wrapper.emitted('increment'))
;[
[
[1], // 第一次调用时,`count` 为 1
[2] // 第二次调用时,`count` 为 2
]
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/guide/essentials/passing-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Vue Test Utils 提供了几种方法来设置组件的数据和属性,以便
<script setup>
import { ref } from 'vue'
const password = ref('')
<script>
</script>

<template>
<div>
Expand Down