feat:Data link编辑页面开发

This commit is contained in:
zyh
2023-05-26 18:01:27 +08:00
parent 3e0139dea1
commit 7df20d9a37
14 changed files with 477 additions and 66 deletions

View File

@@ -115,6 +115,7 @@ export default {
}
if (chartInfo.param.enable && chartInfo.param.enable.thresholds && !lodash.isEmpty(chartInfo.param.thresholds) && chartInfo.param.thresholds.length) { // 阈值
s.markLine = {
silent: true,
symbol: 'circle',
symbolSize: 5
}
@@ -481,9 +482,6 @@ export default {
this.chartId = `${this.chartInfo.id}${this.isFullscreen ? '-fullscreen' : ''}`
},
beforeDestroy () {
try {
getChart(this.chartId) && getChart(this.chartId).getZr().off('mousemove')
} catch (error) {}
getChart(this.chartId) && setChart(this.chartId, null)
}
}