Commit bdf2aed6 by 胡悦

提交

1 parent d1f5d1ab
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2023-09-06 15:08:05 * @Date: 2023-09-06 15:08:05
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-09-07 18:01:34 * @LastEditTime: 2023-09-07 18:02:59
--> -->
<template> <template>
<div :id="domId" style="width: 100%" :style="{ height }"></div> <div :id="domId" style="width: 100%" :style="{ height }"></div>
...@@ -50,7 +50,6 @@ export default { ...@@ -50,7 +50,6 @@ export default {
methods: { methods: {
tooltipFormatter(obj) { tooltipFormatter(obj) {
console.log(obj);
var _currentItem = this.dataList[obj[0].dataIndex] var _currentItem = this.dataList[obj[0].dataIndex]
var _html = '' var _html = ''
var _txt = `<div><div style="color: #FFFFFF">${_currentItem.statMonth}</div><div style="display:flex;align-items:center"><div style="width: 4px;height: 4px;background: #FFC200;border-radius: 4px;margin-right: 4px;"></div><div style="color: #fff;">${utils.numAddSymbol(_currentItem[this.valName])}</div></div></div>` var _txt = `<div><div style="color: #FFFFFF">${_currentItem.statMonth}</div><div style="display:flex;align-items:center"><div style="width: 4px;height: 4px;background: #FFC200;border-radius: 4px;margin-right: 4px;"></div><div style="color: #fff;">${utils.numAddSymbol(_currentItem[this.valName])}</div></div></div>`
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!