pull/939/head
drafish 2019-07-05 09:44:12 +08:00 committed by tangjinzhou
parent 1af8c07e89
commit b0c95d36ae
1 changed files with 1 additions and 1 deletions

View File

@ -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
}.`,
);