From 000fffdf5b757e02bbd5475e75713b5ff591e246 Mon Sep 17 00:00:00 2001 From: jarvis <2221237281@qq.com> Date: Tue, 19 Oct 2021 15:55:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=B9=E8=AE=AD=E8=AE=A1=E5=88=92=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=E6=9F=A5=E7=9C=8B=E7=BA=A2=E5=A4=B4=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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}`; } }