pref: 绑定设备、匹配pk

This commit is contained in:
2026-04-28 08:59:16 +08:00
parent 8c48216a75
commit f07facd98b
7 changed files with 137 additions and 95 deletions

View File

@@ -27,6 +27,7 @@ const {
updateDevice,
updateRank,
getLvlName,
getLvlNameByScore,
updateOnline,
} = store;
const { user, device, rankData, online, game } = storeToRefs(store);
@@ -221,7 +222,7 @@ onShareTimeline(() => {
<view>
<text>段位</text>
<text>{{
user.rankLvl ? getLvlName(user.rankLvl) : "暂无"
user.lvlName || "暂无"
}}</text>
</view>
<view>