From 2146654ce466348808bd11218d5a71756d03abc4 Mon Sep 17 00:00:00 2001 From: 小小儁爺 <1694218219@qq.com> Date: 星期四, 13 三月 2025 16:46:05 +0800 Subject: [PATCH] 1.打印模板修改2.新增打印次数字段 --- src/utils/myEcharts.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/utils/myEcharts.js b/src/utils/myEcharts.js index 415693e..55bcdcb 100644 --- a/src/utils/myEcharts.js +++ b/src/utils/myEcharts.js @@ -2104,12 +2104,13 @@ return option } -export function all02(data) { +export function all02(data, title) { return { backgroundColor: 'transparent', // tooltip: {}, title: { - text: '姣忔湀璁㈠崟鏁伴噺/鍑哄簱鏁伴噺', + text: title, + // text: '姣忔湀璁㈠崟鏁伴噺/鍑哄簱鏁伴噺', left: '50%', top: '0%', textAlign: 'center', -- Gitblit v1.9.3