Skip to content

Commit 377d311

Browse files
committed
add missed function ()
1 parent e288e06 commit 377d311

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/guide/computed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ var vm = new Vue({
8282
msg: 'hi'
8383
},
8484
computed: {
85-
example: {
85+
example: function () {
8686
return Date.now() + this.msg
8787
}
8888
}

0 commit comments

Comments
 (0)