diff --git a/src/core/util/options.js b/src/core/util/options.js index c42245e0..3be38b8e 100644 --- a/src/core/util/options.js +++ b/src/core/util/options.js @@ -286,7 +286,7 @@ function normalizeProps (options: Object, vm: ?Component) { ? val : { type: val } } - } else if (process.env.NODE_ENV !== 'production' && props) { + } else if (process.env.NODE_ENV !== 'production') { warn( `Invalid value for option "props": expected an Array or an Object, ` + `but got ${toRawType(props)}.`,