* Fix bug.

This commit is contained in:
leiyong
2021-03-22 17:35:35 +08:00
parent 411fe57ce8
commit 7ae216c0e6
8 changed files with 27 additions and 31 deletions
+1 -6
View File
@@ -51,12 +51,7 @@ js::set('flow', $config->global->flow);
<script>
$(function()
{
<?php if($this->config->global->flow == 'full'):?>
$('#subNavbar [data-id=testcase]').addClass('active');
<?php else:?>
$('#navbar li.active').removeClass('active');
$('#navbar li[data-id=unit]').addClass('active');
<?php endif;?>
$('#subNavbar li[data-id="case"]').addClass('active');
})
</script>
<?php include '../../common/view/footer.html.php';?>