Просмотр исходного кода

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

Ziwen Mei 4 лет назад
Родитель
Сommit
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(