Skip to content

Commit

Permalink
docs(provide-inject): correct code formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron-zon committed Dec 2, 2024
1 parent ee46337 commit a5cd6d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/guide/components/provide-inject.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,9 +335,9 @@ export const myInjectionKey = Symbol()
import { provide } from 'vue'
import { myInjectionKey } from './keys.js'

provide(myInjectionKey, { /*
要提供的数据
*/ });
provide(myInjectionKey, {
/* 要提供的数据 */
})
```

```js
Expand Down

0 comments on commit a5cd6d5

Please sign in to comment.