|
|
@ -422,7 +422,7 @@ export default {
|
|
|
|
const directive = find(vnode.data.directives, ['name', 'decorator']);
|
|
|
|
const directive = find(vnode.data.directives, ['name', 'decorator']);
|
|
|
|
warning(
|
|
|
|
warning(
|
|
|
|
!directive || (directive && Array.isArray(directive.value)),
|
|
|
|
!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
|
|
|
|
vnode.tag
|
|
|
|
}.`,
|
|
|
|
}.`,
|
|
|
|
);
|
|
|
|
);
|
|
|
|