* Fix page error for no data.

This commit is contained in:
caoyanyi
2023-09-07 14:18:33 +08:00
parent 4a0ae67937
commit c4b3eb4337
+2 -1
View File
@@ -59,6 +59,7 @@ foreach($lang->report->typeList as $type => $typeName)
$link = createLink('task', 'report', "executionID=$executionID&browseType=$browseType&type=%s");
$chartContents[] = tabPane
(
set::key($type),
set::title($typeName),
set::active($type == $chartType),
set::param(sprintf($link, $type)),
@@ -67,7 +68,7 @@ foreach($lang->report->typeList as $type => $typeName)
(
set::className('pb-4'),
span(set::className('text-gray'),
html(str_replace('%tab%', $lang->task->wait . $lang->testcase->common, $lang->report->notice->help)))
html(str_replace('%tab%', $lang->task->waitTask . $lang->testcase->common, $lang->report->notice->help)))
),
div($echarts)
);