This commit is contained in:
仲么了
2023-10-27 16:09:09 +08:00
parent 89d3d78f22
commit d6b02c77cd
12 changed files with 87 additions and 86 deletions

View File

@@ -6,7 +6,7 @@
<view class="about-text">设备类型{{ deviceInfo.devTypeName }}</view>
<view class="about-text">设备型号{{ deviceInfo.devModelName }}</view>
<view class="about-text"
>设备接入方式{{ deviceInfo.devAccessMethod === 'cloud' ? '云直连' : 'mqtt' }}</view
>设备接入方式{{ deviceInfo.devAccessMethod === 'cloud' ? '云直连' : 'MQTT' }}</view
>
<!-- <view class="about-text">设备注册时间永久使用</view> -->
<view class="about-text">程序版本{{ deviceInfo.programVersionName }}</view>
@@ -37,10 +37,6 @@ export default {
this.deviceInfo.devModelName = resp[1].data.find(
(item) => item.id === this.deviceInfo.devModel,
)?.name
console.log(resp[2])
this.deviceInfo.programVersionName = resp[2].data.records.find(
(item) => item.id === this.deviceInfo.programVersion,
)?.versionNo
this.loading = false
})
})