Skip to content

Commit b4a9ec4

Browse files
committed
fix(vue2): use name from root component, closes #1405
1 parent ef03004 commit b4a9ec4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/app-backend-vue2/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ export const backend = defineBackend({
1717
api.on.getAppRecordName(payload => {
1818
if (payload.app.name) {
1919
payload.name = payload.app.name
20+
} else if (payload.app.$options.name) {
21+
payload.name = payload.app.$options.name
2022
}
2123
})
2224

0 commit comments

Comments
 (0)