Merge pull request #10734 from dataease/pr@dev-v2@fix_fixed_assist_line

fix(图表): 固定值辅助线显示异常
This commit is contained in:
wisonic-s 2024-07-02 20:14:46 +08:00 committed by GitHub
commit b2c6531e52
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -680,7 +680,7 @@ export function getAnalyse(chart: Chart) {
chart.type.includes('chart-mix')))
)
})
const lines = fixedLines.concat(dynamicLines)
const lines = fixedLines.concat(dynamicLines || [])
lines.forEach(ele => {
const value = parseFloat(ele.value)
const content =