feat: 安装向导页支持滚动并新增 MySQL/Redis 连接测试

Install 页作为独立满屏路由自身承载纵向滚动,修复内容超出视口无法滚动;
MySQL/Redis 卡片新增测试连接按钮,后端新增 /api/install/test-connection(仅安装模式可用,
不建库不落盘;MySQL 库不存在也视为可连接因安装时会自动建库)。
This commit is contained in:
Nixevol
2026-07-09 15:04:45 +08:00
parent 0780fc2d0f
commit 8db618a807
6 changed files with 182 additions and 5 deletions
+3
View File
@@ -212,6 +212,9 @@
"failed": "Installation failed",
"done": "Initialized. The service is restarting, please wait…",
"loadFailed": "Failed to read installation status",
"testConnection": "Test",
"testOk": "Connected",
"testFailed": "Connection failed",
"defaultAppName": "Artwork Traceability Platform",
"defaultAdminName": "Administrator"
},
+3
View File
@@ -212,6 +212,9 @@
"failed": "安装失败",
"done": "初始化完成,服务正在重启,请稍候…",
"loadFailed": "读取安装状态失败",
"testConnection": "测试连接",
"testOk": "连接成功",
"testFailed": "连接失败",
"defaultAppName": "艺术品溯源平台",
"defaultAdminName": "管理员"
},