pull/939/head
drafish 5 years ago committed by tangjinzhou
parent 1af8c07e89
commit b0c95d36ae

@ -422,7 +422,7 @@ export default {
const directive = find(vnode.data.directives, ['name', 'decorator']);
warning(
!directive || (directive && Array.isArray(directive.value)),
`Invalid directive: type check failed for directive "decorator". Expected Array, got ${typeof directive.value}. At ${
`Invalid directive: type check failed for directive "decorator". Expected Array, got ${typeof (directive ? directive.value : directive)}. At ${
vnode.tag
}.`,
);

Loading…
Cancel
Save