mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-10 05:15:35 +08:00
fix: location.search not work (#842)
This commit is contained in:
parent
5b4c1156f2
commit
614430e006
@ -108,7 +108,7 @@ export default () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
let search = location.search
|
let search = location.search || window.location.search
|
||||||
|
|
||||||
if (search) {
|
if (search) {
|
||||||
const searchList = location.hash.match(/\?.*$/)
|
const searchList = location.hash.match(/\?.*$/)
|
||||||
|
Loading…
Reference in New Issue
Block a user