运行图预览重复数据调整

This commit is contained in:
fan 2020-08-13 09:07:42 +08:00
parent fbda89c39e
commit 2c2d704ee7

View File

@ -239,6 +239,7 @@ export default {
async loadChartPage() {
try {
this.seriesMap = {};
this.staticSeries = [];
const stations = this.$store.state.runPlan.stations;
const planData = this.$store.state.runPlan.planData;
this.kmRangeCoordMap = this.PlanConvert.convertStationsToMap(stations);
@ -413,7 +414,6 @@ export default {
for (var time = 0 + this.PlanConvert.TranslationTime; time < 3600 * 24 + this.PlanConvert.TranslationTime; time++) {
list.push(time);
}
const startValue = 3600 * 6;
const offsetTime = 3600 * 1;