forked from github/dataease
fix: echarts辅助线删除后存在缓存
This commit is contained in:
parent
4cb4b36aae
commit
d9e967a0c3
@ -216,12 +216,13 @@ export function seniorCfg(chart_option, chart) {
|
||||
}
|
||||
}
|
||||
}
|
||||
// begin mark line settings
|
||||
chart_option.series[0].markLine = {
|
||||
symbol: 'none',
|
||||
data: []
|
||||
}
|
||||
if (senior.assistLine && senior.assistLine.length > 0) {
|
||||
if (chart_option.series && chart_option.series.length > 0) {
|
||||
chart_option.series[0].markLine = {
|
||||
symbol: 'none',
|
||||
data: []
|
||||
}
|
||||
const customStyle = JSON.parse(chart.customStyle)
|
||||
let xAxis, yAxis
|
||||
if (customStyle.xAxis) {
|
||||
|
Loading…
Reference in New Issue
Block a user