refactor(chart): 移除 pie chart 中的 console.log 语句
- 在 pie chart 的 tooltip配置中移除了 console.log调用 - 此修改提高了代码的可读性和性能,避免了不必要的控制台输出
This commit is contained in:
@@ -12,7 +12,6 @@ const option = {
|
||||
tooltip: {
|
||||
trigger: 'item',
|
||||
formatter: (p) => {
|
||||
console.log(p);
|
||||
switch (p.data.questionItem.question_type) {
|
||||
case 1:
|
||||
case 2:
|
||||
|
||||
Reference in New Issue
Block a user