fix: 修复Enter登录重复触发,阻止事件冒泡

master
xzz2021 9 months ago
parent 319cdd1820
commit 97e7660e21

@ -76,6 +76,7 @@ const schema = reactive<FormSchema[]>([
// enter
onKeydown: (_e: any) => {
if (_e.key === 'Enter') {
_e.stopPropagation() //
signIn()
}
}

Loading…
Cancel
Save