diff --git a/src/views/device/manager/components/integration/components/HumidForm.vue b/src/views/device/manager/components/integration/components/HumidForm.vue index 9ee31bc..cb75a6f 100644 --- a/src/views/device/manager/components/integration/components/HumidForm.vue +++ b/src/views/device/manager/components/integration/components/HumidForm.vue @@ -209,7 +209,6 @@ function getInfo(record){ getDeviceInfo({ "sn":record.sn }).then(res=> { - console.log(res); nextTick(() => { resetFields(); //赋值 @@ -230,10 +229,10 @@ function getInfo(record){ * @param record */ function readParameters(sn){ + confirmLoading.value = true; getDeviceParameters({ "sn":sn }).then(res=> { - console.log(res); nextTick(() => { resetFields(); //赋值 @@ -246,7 +245,9 @@ function readParameters(sn){ //赋值 Object.assign(formData, tmpData); }); - }) + }).finally(() => { + confirmLoading.value = false; + }); } diff --git a/src/views/device/manager/components/log/DeviceLogList.vue b/src/views/device/manager/components/log/DeviceLogList.vue index 433fa82..499cc9b 100644 --- a/src/views/device/manager/components/log/DeviceLogList.vue +++ b/src/views/device/manager/components/log/DeviceLogList.vue @@ -1,5 +1,42 @@