From f4eab8260799475687281c8b8f8d03aaedff6003 Mon Sep 17 00:00:00 2001 From: xuesinan <1404152492@qq.com> Date: Thu, 11 Nov 2021 18:38:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E8=B5=84=E6=B1=87=E6=80=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index d049df8..23d4358 100644 --- a/index.html +++ b/index.html @@ -70,11 +70,11 @@ init() { this.dom = document.querySelector("div[data-root=p1458326054384181248]"); if (this.dom) { - var title = this.dom.querySelector('.title'); + var summary_title = this.dom.querySelector('.title'); var myDate = new Date(); var tMonth = myDate.getMonth(); - title.innerHTML = tMonth === 0 ? '12月份工资表' : tMonth + '月份工资表'; + summary_title.innerHTML = tMonth === 0 ? '12月份工资汇总' : tMonth + '月份工资汇总'; } }, @@ -85,6 +85,7 @@ location.href = `https://test.tall.wiki/checkwork/salary-summary/?pid=${pId}&uid=${uId}&rid=${rId}`; } } + p1458326054384181248.init();