Skip to content

Commit af068c0

Browse files
committed
[jsfm] task center normalize for native virtual element
1 parent e46a720 commit af068c0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

runtime/bridge/TaskCenter.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ export class TaskCenter {
9090
return v.map(item => this.normalize(item, true))
9191
}
9292
}
93+
if (v && v.vRef && v['[[VirtualElement]]']) {
94+
return v.vRef
95+
}
9396
return normalizePrimitive(v)
9497
}
9598

0 commit comments

Comments
 (0)