diff --git a/source/guide/computed.md b/source/guide/computed.md index bf306b732f..b49f5ae26b 100644 --- a/source/guide/computed.md +++ b/source/guide/computed.md @@ -82,7 +82,7 @@ var vm = new Vue({ msg: 'hi' }, computed: { - example: { + example: function () { return Date.now() + this.msg } }