From: Jason Ren <40999116+jasonren0403@users.noreply.github.com> Date: Mon, 4 Mar 2024 15:50:03 +0000 (+0800) Subject: docs(zh): Fix extra space in outside-component-usage.md (#2593) X-Git-Tag: @pinia/nuxt@0.5.2-beta.0~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a30fbcb47d45ed4b97f72a67daab9a663b1e02f;p=thirdparty%2Fvuejs%2Fpinia.git docs(zh): Fix extra space in outside-component-usage.md (#2593) --- diff --git a/packages/docs/zh/core-concepts/outside-component-usage.md b/packages/docs/zh/core-concepts/outside-component-usage.md index bd5f6416..7986921e 100644 --- a/packages/docs/zh/core-concepts/outside-component-usage.md +++ b/packages/docs/zh/core-concepts/outside-component-usage.md @@ -24,8 +24,7 @@ app.use(pinia) const userStore = useUserStore() ``` -为确保 pinia 实例被激活,最简单的方法就是将 `useStore()` 的调用放在 pinia 安 -装后才会执行的函数中。 +为确保 pinia 实例被激活,最简单的方法就是将 `useStore()` 的调用放在 pinia 安装后才会执行的函数中。 让我们来看看这个在 Vue Router 的导航守卫中使用 store 的例子。