fix: 修复详情页面,单值折线图表,时间展示错误问题

This commit is contained in:
@changcode
2022-02-21 10:52:40 +08:00
parent 722e533cf3
commit b62a1d9535
2 changed files with 4 additions and 1 deletions

View File

@@ -172,6 +172,9 @@
} }
position: relative; position: relative;
} }
.overview__domain-more-tabs::-webkit-scrollbar {
width: 10px;
}
.overview__domain-more-tabs { .overview__domain-more-tabs {
min-width: 110px; min-width: 110px;
max-height: 180px; max-height: 180px;

View File

@@ -154,7 +154,7 @@ export default {
return { return {
...seriesTemplate, ...seriesTemplate,
name: r.legend, name: r.legend,
data: r.values.map(v => [Number(v[0]), Number(v[1]), chartParams.unitType]), data: r.values.map(v => [Number(v[0]) * 1000, Number(v[1]), chartParams.unitType]),
lineStyle: { lineStyle: {
color: getChartColor[i] color: getChartColor[i]
} }