From bfcfd07eb3c702f57b5667354fbb2736acfc0955 Mon Sep 17 00:00:00 2001 From: Anshi Date: Mon, 16 Jul 2018 19:29:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0html?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Echarts/tpl.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Echarts/tpl.html b/src/components/Echarts/tpl.html index eea97ff..169cd3c 100644 --- a/src/components/Echarts/tpl.html +++ b/src/components/Echarts/tpl.html @@ -83,7 +83,7 @@ myChart.on('legendselectchanged',function(params){ if(typeof window.postMessage === 'function'){ - window.postMessage(params) + window.postMessage(JSON.stringify(params)) } }) function changeDigit(num = 0, digit = 2) {