|
@@ -76,6 +76,7 @@ const schema = reactive<FormSchema[]>([
|
|
// 按下enter键触发登录
|
|
// 按下enter键触发登录
|
|
onKeydown: (_e: any) => {
|
|
onKeydown: (_e: any) => {
|
|
if (_e.key === 'Enter') {
|
|
if (_e.key === 'Enter') {
|
|
|
|
+ _e.stopPropagation() // 阻止事件冒泡
|
|
signIn()
|
|
signIn()
|
|
}
|
|
}
|
|
}
|
|
}
|