|
@@ -1,7 +1,7 @@
|
|
|
import { hasOwn } from 'element-ui/src/utils/util';
|
|
|
|
|
|
export function isVNode(node) {
|
|
|
- return typeof node === 'object' && hasOwn(node, 'componentOptions');
|
|
|
+ return node !== null && typeof node === 'object' && hasOwn(node, 'componentOptions');
|
|
|
};
|
|
|
|
|
|
export function getFirstComponentChild(children) {
|