fix:修复alert图表x轴时间未处理的问题 & 修复endpoint-query页面显示异常

This commit is contained in:
wangwenrui
2020-11-06 16:20:54 +08:00
parent f91e3f7180
commit 1ee556e11c
4 changed files with 15 additions and 20 deletions

View File

@@ -90,7 +90,7 @@
axisLabel: {
interval: 0,
rotate: 0,
formatter: function (value) {
formatter: function (value,index) {
value=value
var t_date = new Date(value);
return [t_date.getFullYear(), t_date.getMonth() + 1, t_date.getDate()].join('-') + "\n"