|
|
@@ -94,7 +94,7 @@ export default {
|
|
|
setTimeout(() => {
|
|
|
this.selectedTab = String(this.data.typeDataList[0].type);
|
|
|
this.currentTypeData = this.data.typeDataList[0];
|
|
|
- this.currentTypeData.iotCode = this.data.iotCode;
|
|
|
+ this.currentTypeData.iotCode = this.iotCode;
|
|
|
}, 200);
|
|
|
}
|
|
|
})
|
|
|
@@ -106,6 +106,7 @@ export default {
|
|
|
this.currentTypeData = this.data.typeDataList.find(
|
|
|
(t) => t.type == this.selectedTab
|
|
|
);
|
|
|
+ this.currentTypeData.iotCode = this.iotCode;
|
|
|
},
|
|
|
updateDeviceData(rel) {
|
|
|
this.data.typeDataList.forEach((obj, index) => {
|