feat(mini-user): show version on mine page and force exit when below min (v3.4.13)

Display v3.4.x next to brand on mine page; below minClientVersion prompt update via UpdateManager or exit mini program after acknowledge.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-06 00:14:53 +08:00
parent 53e0db6a98
commit 46a200e0ba
4 changed files with 83 additions and 11 deletions
+2 -1
View File
@@ -23,6 +23,7 @@ import {
} from '../../lib/mini-wechat-profile';
import { isLoggedIn, logout, request, toast, type UserProfile } from '../../lib/api';
import { isWechatEnv } from '../../lib/weixin';
import { APP_VERSION_LABEL } from '../../lib/client-version';
import { maskPhone } from '../../lib/phone';
import {
DEFAULT_SHARE_DESC,
@@ -499,7 +500,7 @@ export default function MinePage() {
</View>
<View className="mine-footer">
<Text className="mine-version"></Text>
<Text className="mine-version"> {APP_VERSION_LABEL}</Text>
<Text className="mine-logout" onClick={() => logout()}>
退
</Text>