fix(runtime-core): vnode.el is null in watcher after rerendering (#2295)
fix #2170
This commit is contained in:
@@ -1425,11 +1425,11 @@ function baseCreateRenderer(
|
||||
}
|
||||
|
||||
if (next) {
|
||||
next.el = vnode.el
|
||||
updateComponentPreRender(instance, next, optimized)
|
||||
} else {
|
||||
next = vnode
|
||||
}
|
||||
next.el = vnode.el
|
||||
|
||||
// beforeUpdate hook
|
||||
if (bu) {
|
||||
|
||||
Reference in New Issue
Block a user