diff --git a/index.html b/index.html index 5736968..4fa9f94 100644 --- a/index.html +++ b/index.html @@ -207,7 +207,10 @@ // 查看红头文件 checkFile(){ - location.href=`https://www.tall.wiki/tiaosheng/file/?pid=${pId}&uid=${uId}&rid=${rId}` + const pId = this.dom.parentNode.getAttribute('data-pid'); + const uId = this.dom.parentNode.getAttribute('data-uid'); + const rId = this.dom.parentNode.getAttribute('data-rid'); + location.href=`https://test.tall.wiki/ts/file?pid=${pId}&uid=${uId}&rid=${rId}` }, // 驳回弹框 @@ -255,6 +258,7 @@ const pId = this.dom.parentNode.getAttribute('data-pid'); const uId = this.dom.parentNode.getAttribute('data-uid'); const rId = this.dom.parentNode.getAttribute('data-rid'); + console.log(this.dom.parentNode); location.href = `https://www.tall.wiki/tiaosheng/?pid=${pId}&uid=${uId}&rid=${rId}`; } }