* [perf bug #43478] change plans var to stages.

This commit is contained in:
wangyidong
2024-06-20 10:16:34 +08:00
committed by 田淑杰
parent eb7a5b82db
commit 1e4bab1eba
+1 -1
View File
@@ -578,7 +578,7 @@ $(function()
$('#ganttView').css('height', Math.max(200, Math.floor($(window).height() - $('#footer').outerHeight() - $('#header').outerHeight() - $('#mainMenu').outerHeight() - 120)));
};
var ganttData = $.parseJSON(<?php echo json_encode(json_encode($plans));?>);
var ganttData = $.parseJSON(<?php echo json_encode(json_encode($stages));?>);
if(!ganttData) ganttData = {};
if(!ganttData.data) ganttData.data = [];