Skip to content

Commit 646550c

Browse files
authored
docs(provide-inject): correct code formatting. (#1050)
1 parent ee46337 commit 646550c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/guide/components/provide-inject.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -335,9 +335,9 @@ export const myInjectionKey = Symbol()
335335
import { provide } from 'vue'
336336
import { myInjectionKey } from './keys.js'
337337

338-
provide(myInjectionKey, { /*
339-
要提供的数据
340-
*/ });
338+
provide(myInjectionKey, {
339+
/* 要提供的数据 */
340+
})
341341
```
342342

343343
```js

0 commit comments

Comments
 (0)