diff --git a/packages/web-pkg/src/components/SideBar/FileSideBar.vue b/packages/web-pkg/src/components/SideBar/FileSideBar.vue index c942e101448..2441651a29f 100644 --- a/packages/web-pkg/src/components/SideBar/FileSideBar.vue +++ b/packages/web-pkg/src/components/SideBar/FileSideBar.vue @@ -97,7 +97,7 @@ export default defineComponent({ return { root: props.space, parent: null, - items: [unref(currentFolder)] + items: unref(currentFolder) ? [unref(currentFolder)] : [] } } return {