🐛 Fix input won't reset

This commit is contained in:
LittleSheep 2024-03-16 15:23:00 +08:00
parent 2e74dcabd0
commit 2288c001df
2 changed files with 2 additions and 0 deletions

View File

@ -77,6 +77,7 @@ async function submit() {
emits("swap", "pick")
emits("update:challenge", data["challenge"])
error.value = null
password.value = ""
}
}
}

View File

@ -54,6 +54,7 @@ async function submit() {
emits("update:currentFactor", item)
emits("swap", "applicator")
error.value = null
focus.value = null
}
emits("update:loading", false)
}