Skip to content

Commit

Permalink
2.2.2 layout fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaobaidadada committed Jan 24, 2025
1 parent 86f7335 commit f95927f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "filecat",
"version": "2.2.1",
"version": "2.2.2",
"description": "filecat 文件管理器",
"author": "xiaobaidadada",
"scripts": {
Expand Down
16 changes: 10 additions & 6 deletions src/web/project/component/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,17 @@ function Layout() {
<SysInfo/>
</Suspense>
{/*ddns*/}
<Suspense fallback={<div></div>}>
{check_user_auth(UserAuth.ddns) && <Ddns/>}
</Suspense>
{check_user_auth(UserAuth.ddns) &&
<Suspense fallback={<div></div>}>
<Ddns/>
</Suspense>
}
{/*网络*/}
<Suspense fallback={<div></div>}>
{check_user_auth(UserAuth.vir_net) && <Net/>}
</Suspense>
{check_user_auth(UserAuth.vir_net) &&
<Suspense fallback={<div></div>}>
<Net/>
</Suspense>
}
{/*设置*/}
<Suspense fallback={<div></div>}>
<Settings/>
Expand Down

0 comments on commit f95927f

Please sign in to comment.