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();