[ISSUE #591] nanotimer started twice (#603)

bug(console) add @EnableScheduling to enable cronjobs

bug(console) fix NanoTimer started twice problem
This commit is contained in:
affe
2020-07-28 17:30:24 +08:00
committed by GitHub
parent c55baccc71
commit 018512e7db
2 changed files with 7 additions and 6 deletions

View File

@@ -288,7 +288,7 @@ app.controller('dashboardCtrl', ['$scope','$rootScope','$translate','$filter','N
}
var getBrokerBarChartOp = function(xAxisData,data){
// 指定图表的配置项和数据
var option = {
xAxis: {
data: xAxisData,
@@ -477,7 +477,7 @@ app.controller('dashboardCtrl', ['$scope','$rootScope','$translate','$filter','N
if(flag){
xAxisData.push($filter('date')(tpsArray[0], "HH:mm:ss"));
}
_tps.push(tpsArray[3]);
_tps.push(tpsArray[2]);
})
flag = false;
var _series = {