Skip to content

Commit d19910b

Browse files
committed
fix(empty-page): fix empty page tips when there are pages under the app
1 parent b53300f commit d19910b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/plugins/materials/src/composable/useResource.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ interface PageInfo {
8080

8181
const initPage = (pageInfo: PageInfo) => {
8282
try {
83-
if (pageInfo?.occupier) {
83+
if (pageInfo?.occupier !== undefined) {
8484
useLayout().layoutState.pageStatus = getCanvasStatus(pageInfo.occupier)
8585
goPage(pageInfo.id)
8686
} else {

0 commit comments

Comments
 (0)