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 f695bc3Copy full SHA for f695bc3
packages/runtime-core/src/renderer.ts
@@ -621,10 +621,11 @@ function baseCreateRenderer(
621
optimized,
622
)
623
} else {
624
- if (n1.el && (n1.el as VueElement)._isVueCE) {
625
- ;(n1.el as VueElement)._beginPatch()
626
- }
+ const isVueCE = !!(n1.el && (n1.el as VueElement)._isVueCE)
627
try {
+ if (isVueCE) {
+ ;(n1.el as VueElement)._beginPatch()
628
+ }
629
patchElement(
630
n1,
631
n2,
@@ -635,7 +636,7 @@ function baseCreateRenderer(
635
636
637
638
} finally {
639
640
;(n1.el as VueElement)._endPatch()
641
}
642
0 commit comments