2025年4月2日17:58:50
This commit is contained in:
@@ -42,8 +42,9 @@ Page({
|
||||
title: "正在同步用户信息,请稍等...",
|
||||
mask: true
|
||||
});
|
||||
setSubUser();
|
||||
this.setSubUser();
|
||||
} else {
|
||||
this.resetDevice();
|
||||
app.globalData.ppScale.plugin.Blue.stop();
|
||||
wx.switchTab({
|
||||
url: "/pages/home/home"
|
||||
@@ -75,8 +76,9 @@ Page({
|
||||
this.setData({
|
||||
['subUser.i']: i + 1
|
||||
})
|
||||
setSubUser();
|
||||
this.setSubUser();
|
||||
} else {
|
||||
this.resetDevice();
|
||||
app.globalData.ppScale.plugin.Blue.stop();
|
||||
wx.hideLoading();
|
||||
wx.switchTab({
|
||||
@@ -86,6 +88,16 @@ Page({
|
||||
})
|
||||
},
|
||||
|
||||
resetDevice() {
|
||||
app.globalData.ppScale.device = {
|
||||
setting: [],
|
||||
list: [],
|
||||
mac: null,
|
||||
name: "",
|
||||
connection: null
|
||||
}
|
||||
},
|
||||
|
||||
// 获取家庭成员列表
|
||||
getSubUser() {
|
||||
let params = {};
|
||||
|
||||
Reference in New Issue
Block a user