Commit 05399770 authored by chris.yang's avatar chris.yang

reactor:formatter数据无需处理

parent 35f11d3a
......@@ -51,10 +51,7 @@
},
tooltip: {
...that.elementInfo.option.tooltip,
trigger: "axis",
formatter: val => {
return that.$u.common.converFunction(that.elementInfo.option.tooltip.formatter, val)
}
trigger: "axis"
},
toolbox: {
...that.elementInfo.option.toolbox,
......
......@@ -53,10 +53,7 @@
},
tooltip: {
...that.elementInfo.option.tooltip,
trigger: "axis",
formatter: val => {
return that.$u.common.converFunction(that.elementInfo.option.tooltip.formatter, val)
}
trigger: "axis"
},
toolbox: {
...that.elementInfo.option.toolbox,
......
......@@ -46,10 +46,7 @@ export default {
color: ['#1089E7', '#F57474', '#56D0E3', '#F8B448', '#8B78F6'],
tooltip: {
...this.elementInfo.option.tooltip,
trigger: 'item',
formatter: val => {
return that.$u.common.converFunction(this.elementInfo.option.tooltip.formatter, val)
}
trigger: 'item'
},
series: this.dealSeriesData(series)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment