Skip to content

Commit

Permalink
Update index.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
zmisgod committed Jul 28, 2024
1 parent 2b1f2e4 commit 33ed491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/epark/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 33ed491

Please sign in to comment.