We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3239117 commit ae16640Copy full SHA for ae16640
components/form/FormItem.jsx
@@ -422,7 +422,7 @@ export default {
422
const directive = find(vnode.data.directives, ['name', 'decorator']);
423
warning(
424
!directive || (directive && Array.isArray(directive.value)),
425
- `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 ${
426
vnode.tag
427
}.`,
428
);
0 commit comments