蓝牙添加连接、断开、可用、不可用控制
This commit is contained in:
@ -84,6 +84,7 @@
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
this.phone= uni.getStorageSync('phone');
|
||||
if (uni.getStorageSync("token") && uni.getStorageSync("clientID")) { //免登陆
|
||||
let time = uni.getStorageSync("tokenTime");
|
||||
if (!time) {
|
||||
@ -101,7 +102,7 @@
|
||||
uni.removeStorageSync("token")
|
||||
uni.removeStorageSync("clientID")
|
||||
uni.removeStorageSync("tokenTime")
|
||||
this.phone= uni.getStorageInfoSync('phone');
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user