Skip to content

Commit 5524819

Browse files
authored
Update events.md (#747)
The counter should start from 0 since the button has not been clicked yet.
1 parent 8e9cd43 commit 5524819

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ For example:
1717
Vue.createApp({
1818
data() {
1919
return {
20-
counter: 1
20+
counter: 0
2121
}
2222
}
2323
}).mount('#basic-event')

0 commit comments

Comments
 (0)