From a5cd6d513baa31c81f617e351d841797421ac27e Mon Sep 17 00:00:00 2001 From: dl_zhoujunyang <1640485761@qq.com> Date: Mon, 2 Dec 2024 17:39:54 +0900 Subject: [PATCH] docs(provide-inject): correct code formatting. --- src/guide/components/provide-inject.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/guide/components/provide-inject.md b/src/guide/components/provide-inject.md index 7a8fcc0cb..c83ab7e86 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