From 60cb4e8eae33ed099c29373c315dfbd11e45f7dc Mon Sep 17 00:00:00 2001 From: xuesinan <1404152492@qq.com> Date: Thu, 11 Nov 2021 09:19:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E8=B5=84=E8=A1=A8=E6=8F=92=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 6aa4d7d..5d19ed6 100644 --- a/index.html +++ b/index.html @@ -64,7 +64,7 @@ var myDate = new Date(); var tMonth = myDate.getMonth(); - title.innerHTML = tMonth + 1 + '月份工资表'; + title.innerHTML = tMonth === 0 ? '12月份工资表' : tMonth + '月份工资表'; }, jumpDetails(that) {