Match-id-f4bad54d19ae92cb4575ca64e04a176d3def5a37
This commit is contained in:
parent
119cf01c4c
commit
571fabd459
|
@ -71,7 +71,7 @@ function callBeforeSubmitLifeCycles(
|
|||
const root = vNode.realNode;
|
||||
clearContainer(root.outerDom);
|
||||
}
|
||||
|
||||
|
||||
// No Default
|
||||
}
|
||||
}
|
||||
|
@ -160,7 +160,7 @@ function hideOrUnhideAllChildren(vNode, isHidden) {
|
|||
function attachRef(vNode: VNode) {
|
||||
const ref = vNode.ref;
|
||||
|
||||
if (ref !== null) {
|
||||
if (ref !== null && ref !== undefined) {
|
||||
const instance = vNode.realNode;
|
||||
|
||||
let refType = typeof ref;
|
||||
|
@ -179,7 +179,7 @@ function attachRef(vNode: VNode) {
|
|||
function detachRef(vNode: VNode, isOldRef?: boolean) {
|
||||
let ref = (isOldRef ? vNode.oldRef : vNode.ref);
|
||||
|
||||
if (ref !== null) {
|
||||
if (ref !== null && ref !== undefined) {
|
||||
let refType = typeof ref;
|
||||
|
||||
if (refType === 'function') {
|
||||
|
|
Loading…
Reference in New Issue