We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d54f6c8 commit 1354a62Copy full SHA for 1354a62
packages/runtime-core/src/renderer.ts
@@ -621,10 +621,13 @@ function baseCreateRenderer(
621
optimized,
622
)
623
} else {
624
- if (n1.el && (n1.el as VueElement)._isVueCE) {
625
- ;(n1.el as VueElement)._beginPatch()
626
- }
+ const customElement = !!(n1.el && (n1.el as VueElement)._isVueCE)
+ ? (n1.el as VueElement)
+ : null
627
try {
628
+ if (customElement) {
629
+ customElement._beginPatch()
630
+ }
631
patchElement(
632
n1,
633
n2,
@@ -635,8 +638,8 @@ function baseCreateRenderer(
635
638
636
639
637
640
} finally {
- ;(n1.el as VueElement)._endPatch()
641
642
+ customElement._endPatch()
643
}
644
645
0 commit comments