diff --git a/src/guide/components/provide-inject.md b/src/guide/components/provide-inject.md index 7a8fcc0c..c83ab7e8 100644 --- a/src/guide/components/provide-inject.md +++ b/src/guide/components/provide-inject.md @@ -335,9 +335,9 @@ export const myInjectionKey = Symbol() import { provide } from 'vue' import { myInjectionKey } from './keys.js' -provide(myInjectionKey, { /* - 要提供的数据 -*/ }); +provide(myInjectionKey, { + /* 要提供的数据 */ +}) ``` ```js