Skip to content

Commit 7351ae1

Browse files
Bchuanposva
authored andcommitted
Update data-fetching.md (#1719)
1 parent 2393f65 commit 7351ae1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/zh-cn/advanced/data-fetching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export default {
8282
}
8383
},
8484
beforeRouteEnter (to, from, next) {
85-
getPost(to.params.id, (err, post) =>
85+
getPost(to.params.id, (err, post) => {
8686
if (err) {
8787
// display some global error message
8888
next(false)

0 commit comments

Comments
 (0)