try window.assign

This commit is contained in:
Arthur Lu 2022-12-20 15:45:43 -08:00
parent 85f7fac100
commit 9854792407

View File

@ -80,7 +80,7 @@ export function goToPage (page, data={}) {
for(let k in data) {
url.searchParams.append(k, data[k]);
}
window.location.href = url.toString();
window.location.assign(url.toString());
}
export function getURIData () {