refactor(chart): 移除 pie chart 中的 console.log 语句

- 在 pie chart 的 tooltip配置中移除了 console.log调用
- 此修改提高了代码的可读性和性能,避免了不必要的控制台输出
This commit is contained in:
陈昱达
2025-05-23 16:48:19 +08:00
parent 8f7a0cb4ec
commit d9be87d0bb

View File

@@ -12,7 +12,6 @@ const option = {
tooltip: {
trigger: 'item',
formatter: (p) => {
console.log(p);
switch (p.data.questionItem.question_type) {
case 1:
case 2: