Skip to content

Commit c35bbbf

Browse files
committed
fix(vue2): no app record for unmounted component, closes #1791
1 parent 30fd3c8 commit c35bbbf

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export function getUniqueId (instance, appRecord?: AppRecord): string {
4040
rootVueId = appRecord.id
4141
}
4242
if (!rootVueId) {
43-
console.error('No app record id found for instance', instance)
43+
rootVueId = '_unmounted'
4444
}
4545
return `${rootVueId}:${instance._uid}`
4646
}

0 commit comments

Comments
 (0)