[AI Generated]: fix(*): 首页连接文案改为「设备已连接」,成员详情接口切换至 v3

This commit is contained in:
17792275749
2026-05-18 10:22:50 +08:00
parent 4b1ff061fa
commit 09697b99e4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ Page({
const { userId } = options
if (!userId) return
this.setData({ isEdit: true, userId })
get<SysUserDevice>('weighingScale/v2/getUserInfo', { id: userId }, { loading: false })
get<SysUserDevice>('weighingScale/v3/select/userinfo/byId', { id: userId }, { loading: false })
.then((res: any) => {
const u: SysUserDevice = res.result
if (!u) return
+1 -1
View File
@@ -10,7 +10,7 @@
<view class="device-name">{{ device.name }}</view>
<view class="device-status">
<view class="status-dot {{ device.connected ? 'dot-on' : 'dot-off' }}"></view>
<view class="status-text">{{ device.connected ? '蓝牙已连接' : '未连接' }}</view>
<view class="status-text">{{ device.connected ? '设备已连接' : '未连接' }}</view>
</view>
</view>
<view class="device-switch" bind:tap="onTapSwitchDevice">切换设备</view>