feat(admin): 添加版本信息显示与兼容性检查功能

- 在布局侧边栏底部添加版本信息区域,显示 API 和后台版本
- 点击版本信息可打开模态框,展示详细的版本信息和兼容性状态
- 当 API 版本与后台版本不一致时提示用户更新以避免兼容性问题
- 移除登录页面中已注释的 GitHub 链接
- 更新 package.json 版本号至 0.0.11
- 优化 API 根路径响应,返回 JSON 格式的版本信息
- 清理重复的导入语句和冗余代码
This commit is contained in:
anghunk
2026-01-31 10:32:57 +08:00
parent f42a0b7b0a
commit 1a7a9db88f
5 changed files with 250 additions and 113 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "cwd",
"version": "0.0.10",
"version": "0.0.11",
"license": "Apache-2.0",
"repository": {
"type": "git",