From 33ed491fa3048df2f1df0876d839cb3c70750236 Mon Sep 17 00:00:00 2001 From: zangmiao Date: Sun, 28 Jul 2024 09:25:29 +0800 Subject: [PATCH] Update index.jsx --- src/component/epark/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/component/epark/index.jsx b/src/component/epark/index.jsx index b06db83..ddc5b17 100644 --- a/src/component/epark/index.jsx +++ b/src/component/epark/index.jsx @@ -19,7 +19,7 @@ function eParkTag() { const [decodeAesKey, setDecodeAesKey] = useState('') useEffect(() => { - let data = new URLSearchParams(window.location.search) + let data = new URLSearchParams(window.location.search?window.location.search:window.location.hash) let passData = data.get("data"); if (passData !== null) { setNowMode(0)