From 64e96e6252e7647c50ec512dde55533a154758e9 Mon Sep 17 00:00:00 2001 From: guoapeng Date: Mon, 30 Jun 2025 16:57:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=9B=BE=E8=A1=A8=E4=B8=8D=E6=B8=85?= =?UTF-8?q?=E6=99=B0=E5=92=8C=E5=8F=98=E5=BD=A2=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/index.js | 2 +- src/components/seal/DashboardChart.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/index.js b/server/index.js index d5fc3f2..5cb3ba4 100644 --- a/server/index.js +++ b/server/index.js @@ -3,7 +3,7 @@ import express from 'express' const app = express() -const PORT = 8080 // 可根据需要更改端口号 +const PORT = 8088 // 可根据需要更改端口号 app.listen(PORT, () => { console.log(`服务器已启动,正在监听端口 ${PORT}`) }) diff --git a/src/components/seal/DashboardChart.vue b/src/components/seal/DashboardChart.vue index acd84cd..2103575 100644 --- a/src/components/seal/DashboardChart.vue +++ b/src/components/seal/DashboardChart.vue @@ -27,7 +27,7 @@ const initChart = () => { if (!chartRef.value) { return } - myChart = echarts.init(chartRef.value) + myChart = echarts.init(chartRef.value, null, { renderer: 'svg' }) const option = { tooltip: { formatter: '{a}
{b} : {c}%', @@ -70,7 +70,7 @@ onUnmounted(() => {