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

chore: fix typo in <template v-slot> warning (#10585)

Tan Zhen Yong 6 лет назад
Родитель
Сommit
3dcd85b826
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/compiler/parser/index.js

+ 1 - 1
src/compiler/parser/index.js

@@ -654,7 +654,7 @@ function processSlotContent (el) {
           if (el.parent && !maybeComponent(el.parent)) {
             warn(
               `<template v-slot> can only appear at the root level inside ` +
-              `the receiving the component`,
+              `the receiving component`,
               el
             )
           }