|
@@ -89,8 +89,6 @@
|
|
|
|
|
|
xBlufi.listenDeviceMsgEvent(true, this.funListenDeviceMsgEvent);
|
|
|
|
|
|
- // wx.showLoading({title:'设备初始化...'})
|
|
|
-
|
|
|
// 初始化超时处理
|
|
|
this.initTimeout = setTimeout(() => {
|
|
|
wx.hideLoading();
|
|
@@ -107,7 +105,9 @@
|
|
|
uni.getSystemInfo({
|
|
|
success:res=>{
|
|
|
this.phoneType = res.platform;
|
|
|
- if(res.platform === 'android'){
|
|
|
+ if(res.platform === 'ios'){
|
|
|
+ wx.showLoading({title:'设备初始化...'})
|
|
|
+ }else{
|
|
|
this.startSearchWifi();
|
|
|
}
|
|
|
}
|