From 41e22eaf2222825b143df119a3156263afb3526c Mon Sep 17 00:00:00 2001 From: gameJAN <980880532@qq.com> Date: Mon, 21 Jul 2025 10:54:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E5=BE=AA=E7=8E=AF=E6=B8=B2?= =?UTF-8?q?=E6=9F=93echarts=E5=AF=BC=E8=87=B4=E4=B9=8B=E5=90=8E=E7=9A=84ec?= =?UTF-8?q?harts=E6=B6=88=E5=A4=B1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/markdown-it-vue.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/markdown-it-vue.vue b/src/markdown-it-vue.vue index 1ea4377..8d399e6 100644 --- a/src/markdown-it-vue.vue +++ b/src/markdown-it-vue.vue @@ -108,6 +108,7 @@ export default { let options = JSON.parse(element.textContent) let chart = echarts.init(element) chart.setOption(options) + element.className = "md-echarts-new"; } catch (e) { element.outerHTML = `
echarts complains: ${e}` }