怎加版本

This commit is contained in:
cheney
2026-08-06 17:27:23 +08:00
parent 4f39f428bd
commit f2e53df25b
4 changed files with 26 additions and 0 deletions
+2
View File
@@ -1,6 +1,7 @@
import { useNavigate } from 'react-router-dom'
import { Avatar, List, NavBar, Toast } from 'antd-mobile'
import { useAuth } from '../auth/AuthContext.jsx'
import { APP_VERSION, BUILD_ID } from '../version.js'
// 我的页: 顶部 NavBar + 用户头像卡片 + 信息列表
// 使用 antd-mobile: NavBar / List / Avatar / Toast
@@ -44,6 +45,7 @@ export default function MePage() {
退出登录
</List.Item>
</List>
<div className="me-version">v{APP_VERSION} · build {BUILD_ID}</div>
</div>
)
}