src/views/model/sche/suggest/suggestSnapshot.vue
@@ -126,13 +126,33 @@ series: [{ type: 'line', data: chartInfo.data?.dataList || [], lineStyle: { color: '#5B8FF9', width: 1 } lineStyle: { color: '#5B8FF9', width: 1 }, markLine: { silent: true, symbol: ['none', 'none'], lineStyle: { type: 'solid', width: 1, color: '#95E6FF', }, label: { show: false, }, data: [ { xAxis: chartInfo.data?.scheduleTime || 0, // 真实数据分割线 lineStyle: { color: '#5DFF9E', }, } ], }, }] } chart.setOption(option) return chart }).filter(Boolean) as echarts.ECharts[] }) } </script>