diff --git a/src/compiler/parser/index.js b/src/compiler/parser/index.js index a603b36bb55..4a1bfe43309 100644 --- a/src/compiler/parser/index.js +++ b/src/compiler/parser/index.js @@ -331,8 +331,20 @@ export function processElement (element: ASTElement, options: CompilerOptions) { function processKey (el) { const exp = getBindingAttr(el, 'key') if (exp) { - if (process.env.NODE_ENV !== 'production' && el.tag === 'template') { - warn(`