From f95927fd42aee6c8efb5adec60111670d0ae9bd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E4=BF=9D=E7=A5=A5?= Date: Fri, 24 Jan 2025 16:06:02 +0800 Subject: [PATCH] 2.2.2 layout fix --- package.json | 2 +- src/web/project/component/Layout.tsx | 16 ++++++++++------ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 2eb6df8..dc15bc3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "filecat", - "version": "2.2.1", + "version": "2.2.2", "description": "filecat 文件管理器", "author": "xiaobaidadada", "scripts": { diff --git a/src/web/project/component/Layout.tsx b/src/web/project/component/Layout.tsx index 312aa23..2d23a4d 100644 --- a/src/web/project/component/Layout.tsx +++ b/src/web/project/component/Layout.tsx @@ -108,13 +108,17 @@ function Layout() { {/*ddns*/} - }> - {check_user_auth(UserAuth.ddns) && } - + {check_user_auth(UserAuth.ddns) && + }> + + + } {/*网络*/} - }> - {check_user_auth(UserAuth.vir_net) && } - + {check_user_auth(UserAuth.vir_net) && + }> + + + } {/*设置*/} }>