File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,10 @@ export function createHydrationFunctions(
99
99
const domType = node . nodeType
100
100
vnode . el = node
101
101
102
+ if ( vnode . patchFlag === PatchFlags . BAIL ) {
103
+ vnode . dynamicChildren = null
104
+ }
105
+
102
106
let nextNode : Node | null = null
103
107
switch ( type ) {
104
108
case Text :
Original file line number Diff line number Diff line change @@ -122,13 +122,13 @@ export function defineCustomElement(options: {
122
122
123
123
export function defineCustomElement (
124
124
options : any ,
125
- hydate ?: RootHydrateFunction
125
+ hydrate ?: RootHydrateFunction
126
126
) : VueElementConstructor {
127
127
const Comp = defineComponent ( options as any )
128
128
class VueCustomElement extends VueElement {
129
129
static def = Comp
130
130
constructor ( initialProps ?: Record < string , any > ) {
131
- super ( Comp , initialProps , hydate )
131
+ super ( Comp , initialProps , hydrate )
132
132
}
133
133
}
134
134
You can’t perform that action at this time.
0 commit comments