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