소스 검색

chore(compiler-core): fix typo in transformElement (#4649) [ci skip]

Ziwen Mei 4 년 전
부모
커밋
1873f0f48c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      packages/compiler-core/src/transforms/transformElement.ts

+ 1 - 1
packages/compiler-core/src/transforms/transformElement.ts

@@ -472,7 +472,7 @@ export function buildProps(
         hasRef = true
         // in inline mode there is no setupState object, so we can't use string
         // keys to set the ref. Instead, we need to transform it to pass the
-        // acrtual ref instead.
+        // actual ref instead.
         if (!__BROWSER__ && context.inline && value?.content) {
           valueNode = createFunctionExpression(['_value', '_refs'])
           valueNode.body = createBlockStatement(