From 6f2d1029305b0afb8223268d2e9ea990357f18fa Mon Sep 17 00:00:00 2001 From: Godpu Date: Wed, 9 Dec 2020 12:01:27 +0800 Subject: [PATCH] docs: fix typo in component-provide-inject.md --- src/guide/component-provide-inject.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guide/component-provide-inject.md b/src/guide/component-provide-inject.md index a7be5b6983..dcf966dc95 100644 --- a/src/guide/component-provide-inject.md +++ b/src/guide/component-provide-inject.md @@ -59,7 +59,7 @@ app.component('todo-list', { } }, provide: { - todoLength: this.todos.length // this will result in error 'Cannot read property 'length' of undefined` + todoLength: this.todos.length // this will result in error `Cannot read property 'length' of undefined` }, template: ` ...