Skip to content

Commit b0c95d3

Browse files
drafishtangjinzhou
authored andcommitted
1 parent 1af8c07 commit b0c95d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/form/FormItem.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ export default {
422422
const directive = find(vnode.data.directives, ['name', 'decorator']);
423423
warning(
424424
!directive || (directive && Array.isArray(directive.value)),
425-
`Invalid directive: type check failed for directive "decorator". Expected Array, got ${typeof directive.value}. At ${
425+
`Invalid directive: type check failed for directive "decorator". Expected Array, got ${typeof (directive ? directive.value : directive)}. At ${
426426
vnode.tag
427427
}.`,
428428
);

0 commit comments

Comments
 (0)