[AI Generated]: fix(*): 移除废弃 WifiVersion 类型、修复 connectedWifi 事件绑定及升级 ppScale-plugin 至 0.0.25

This commit is contained in:
17792275749
2026-05-15 16:26:02 +08:00
parent 24d0ebec23
commit b6862c44d5
11 changed files with 25 additions and 25 deletions
+1 -2
View File
@@ -88,12 +88,11 @@ Page({
onLoad() {
const raw = wx.getStorageSync('userInfo') as StorageUserInfo | null
if (!raw?.userId) return
const storedUserId = raw.userId
const userInfo: PageUserInfo = {
...raw,
sex_dictText: raw.sex === 1 ? '男' : raw.sex === 2 ? '女' : '',
age: calcAge(raw.birthday),
isSelf: raw.userId === storedUserId,
isSelf: true,
}
this.setData({ userInfo })
this.loadData()