diff --git a/src/content/docs/zh-cn/reference/errors/locals-not-an-object.mdx b/src/content/docs/zh-cn/reference/errors/locals-not-an-object.mdx index 3dcf30c68628e..e592fbfaac726 100644 --- a/src/content/docs/zh-cn/reference/errors/locals-not-an-object.mdx +++ b/src/content/docs/zh-cn/reference/errors/locals-not-an-object.mdx @@ -8,7 +8,7 @@ githubURL: https://github.com/withastro/astro/blob/main/packages/astro/src/core/ ## 哪里发生了错误? -在开发模式下,当 `locals` 被赋值为一个非对象时抛出错误。 +当 `locals` 被赋值为一个非对象时抛出错误。 例如: