diff --git a/src/components/echarts/MyEchart.vue b/src/components/echarts/MyEchart.vue index 67ff6f6..7114879 100644 --- a/src/components/echarts/MyEchart.vue +++ b/src/components/echarts/MyEchart.vue @@ -69,7 +69,8 @@ const initChart = () => { top: 15, feature: { saveAsImage: { - title: '保存图片' + title: '下载图片', + name: props.options?.title?.text || '图表' }, ...(props.options?.toolbox?.featureProps || null) }, diff --git a/src/views/govern/device/control/index.vue b/src/views/govern/device/control/index.vue index 9b27421..8f9b803 100644 --- a/src/views/govern/device/control/index.vue +++ b/src/views/govern/device/control/index.vue @@ -1190,6 +1190,9 @@ const getRealDataMqttMsg = async () => { mqttRef.value.on('close', function () { console.log('mqtt客户端已断开连接.....') }) + setTimeout(() => { + tableLoading.value = false + }, 6000) } else { ElMessage.success('设备应答失败') tableLoading.value = false diff --git a/src/views/govern/device/control/tabs/electroplating.vue b/src/views/govern/device/control/tabs/electroplating.vue index c4663cd..abf98e2 100644 --- a/src/views/govern/device/control/tabs/electroplating.vue +++ b/src/views/govern/device/control/tabs/electroplating.vue @@ -1,6 +1,6 @@