From f5eee5d43d88f810ea3c2afa1189ffa4b1e17aed Mon Sep 17 00:00:00 2001 From: Yagami <976204163@qq.com> Date: Wed, 10 Mar 2021 09:11:03 +0800 Subject: [PATCH] * Finish task #36479. --- module/my/js/common.js | 1 + module/my/view/bug.html.php | 2 ++ module/my/view/requirement.html.php | 2 ++ module/my/view/story.html.php | 2 ++ module/my/view/task.html.php | 2 ++ module/my/view/testcase.html.php | 2 ++ module/my/view/testtask.html.php | 2 ++ 7 files changed, 13 insertions(+) diff --git a/module/my/js/common.js b/module/my/js/common.js index 37a1292422..60242230cc 100644 --- a/module/my/js/common.js +++ b/module/my/js/common.js @@ -3,6 +3,7 @@ $(function() if(typeof mode === 'string') { $('#subNavbar li[data-id=' + mode + ']').addClass('active'); + if(typeof rawMethod === 'string' && rawMethod == 'work') $('#subNavbar li[data-id=' + mode + '] a').append('' + total + ''); } var scp = $('[data-id="changePassword"] a'); var sign = config.requestType == 'GET' ? '&' : '?'; diff --git a/module/my/view/bug.html.php b/module/my/view/bug.html.php index 2984f29f3e..1e0c6c61ec 100644 --- a/module/my/view/bug.html.php +++ b/module/my/view/bug.html.php @@ -12,6 +12,8 @@ ?> +recTotal);?> +rawMethod);?>