From 3cf702d9b88d84de385372c751eb0cce624c0247 Mon Sep 17 00:00:00 2001 From: admin Date: Wed, 6 May 2026 07:50:47 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DECharts=E5=8A=A8?= =?UTF-8?q?=E6=80=81import=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - import('echarts') 返回模块命名空间对象,不是 { default } - 移除错误的解构语法 --- frontend/src/pages/admin/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/pages/admin/index.vue b/frontend/src/pages/admin/index.vue index 237e648..752cf99 100644 --- a/frontend/src/pages/admin/index.vue +++ b/frontend/src/pages/admin/index.vue @@ -236,7 +236,7 @@ async function initMapChart() { return try { - const [{ default: echarts }, worldResponse] = await Promise.all([ + const [echarts, worldResponse] = await Promise.all([ import('echarts'), fetch('/world.json'), ])