fix reset

This commit is contained in:
2024-12-19 09:17:50 +08:00
parent 263bb327aa
commit 901f273d2b

View File

@@ -91,6 +91,10 @@ export function reset() {
cache.code[code.language].value = sources[code.language]
output.value = ""
status.value = Status.NotStarted
const u = new URL(window.location.href)
u.hash = ""
u.search = ""
window.location.href = u.href
}
export async function run() {