chore: grammar in comments [ci skip]

Co-authored-by: maheng <maheng01@longfor.com>
This commit is contained in:
HanochMa
2021-10-08 23:59:47 +08:00
committed by GitHub
parent 925bc346fe
commit 7a1e6620bf

View File

@@ -575,7 +575,7 @@ export function compileScript(
error(
`\`${method}()\` in <script setup> cannot reference locally ` +
`declared variables because it will be hoisted outside of the ` +
`setup() function. If your component options requires initialization ` +
`setup() function. If your component options require initialization ` +
`in the module scope, use a separate normal <script> to export ` +
`the options instead.`,
id