首页跳转传参方式
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
<view>
|
||||
<image src="/static/images/bip.6.png" class="bip"></image>
|
||||
</view>
|
||||
<text class="device-name">设备名:CLI</text>
|
||||
<text class="device-name">设备名:{{deviceId}}</text>
|
||||
<text class="device-model1">ID:{{deviceId}}</text>
|
||||
</view>
|
||||
<view class="connecting-line" v-if="isConnectNo">连接中...</view>
|
||||
@ -63,7 +63,7 @@
|
||||
communicationMode: '0', //0是4g,1是蓝牙
|
||||
})
|
||||
console.log(this.deviceId,'deerer ere');
|
||||
if (res.code == 0) {
|
||||
if (res.code == 200) {
|
||||
this.isConnectNo=false
|
||||
this.isSuccess =true
|
||||
uni.hideLoading()
|
||||
@ -73,6 +73,7 @@
|
||||
});
|
||||
this.isConnecting = true;
|
||||
} else {
|
||||
this.isConnectNo=false
|
||||
uni.showToast({
|
||||
title: res.msg,
|
||||
});
|
||||
|
Reference in New Issue
Block a user