From 42a221bc42bfc953a1a6467f50241bd08475a251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Tue, 28 Feb 2023 11:09:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BD=A6=E8=BE=86=E7=9B=91?= =?UTF-8?q?=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/realTimeMonitoring/vehicleMonitoring/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruoyi-ui/src/views/realTimeMonitoring/vehicleMonitoring/index.vue b/ruoyi-ui/src/views/realTimeMonitoring/vehicleMonitoring/index.vue index 58e1c59..1fd6a88 100644 --- a/ruoyi-ui/src/views/realTimeMonitoring/vehicleMonitoring/index.vue +++ b/ruoyi-ui/src/views/realTimeMonitoring/vehicleMonitoring/index.vue @@ -119,7 +119,7 @@ const setMarker = async () => { offset: new AMap.Pixel(0, 0), label: { direction: 'top', - content: `
${e.carLicense || ''} - ${e.state === 0? '在线':'离线'}
${e.two || ''} ${e.three || ''}
${e.four || ''}
`, //设置文本标注内容 + content: `
${e.carLicense || ''} - 在线':'red">离线'}
${e.two || ''} ${e.three || ''}
${e.four || ''}
`, //设置文本标注内容 } });