|
@@ -386,8 +386,6 @@ const obtainDeviceDetails = (value: boolean) => {
|
|
}
|
|
}
|
|
|
|
|
|
handleRequest(async () => {
|
|
handleRequest(async () => {
|
|
- gatewayData.value = [];
|
|
|
|
- gatewayRemoteData.value = [];
|
|
|
|
const { deviceQueryVo, gatewayInfoVos, protocolParamDeviceInfoVos, protocolParamCustomDevVos } =
|
|
const { deviceQueryVo, gatewayInfoVos, protocolParamDeviceInfoVos, protocolParamCustomDevVos } =
|
|
await equipmentDetails(deviceId);
|
|
await equipmentDetails(deviceId);
|
|
const {
|
|
const {
|
|
@@ -521,6 +519,8 @@ const obtainDeviceDetails = (value: boolean) => {
|
|
id,
|
|
id,
|
|
});
|
|
});
|
|
if (value) {
|
|
if (value) {
|
|
|
|
+ gatewayData.value = [];
|
|
|
|
+ gatewayRemoteData.value = [];
|
|
if (gatewayInfoVos.length) {
|
|
if (gatewayInfoVos.length) {
|
|
gatewayList.value = gatewayInfoVos;
|
|
gatewayList.value = gatewayInfoVos;
|
|
} else {
|
|
} else {
|