Skip to content

Commit b35da4c

Browse files
committed
fix(vue3): isFragment: subTree null
1 parent 0a41fa3 commit b35da4c

File tree

1 file changed

+1
-1
lines changed
  • packages/app-backend-vue3/src/components

1 file changed

+1
-1
lines changed

packages/app-backend-vue3/src/components/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export function getAppRecord (instance) {
1616
export function isFragment (instance) {
1717
const appRecord = getAppRecord(instance)
1818
if (appRecord) {
19-
return appRecord.options.types.Fragment === instance.subTree.type
19+
return appRecord.options.types.Fragment === instance.subTree?.type
2020
}
2121
}
2222

0 commit comments

Comments
 (0)