|
@@ -36,7 +36,7 @@
|
|
|
v-model="state.ruleForm.code"
|
|
|
clearable
|
|
|
autocomplete="off"
|
|
|
- @keyup.enter="onSignIn"
|
|
|
+ @keyup.enter="onSignInThor"
|
|
|
>
|
|
|
<template #prefix>
|
|
|
<el-icon class="el-input__icon"><ele-Position /></el-icon>
|
|
@@ -199,7 +199,7 @@ const onSignIn = async () => {
|
|
|
/**
|
|
|
* 防抖登录
|
|
|
*/
|
|
|
-const onSignInThor = debounce(onSignIn, 1000)
|
|
|
+const onSignInThor = throttle(onSignIn,1000)
|
|
|
// 登录成功后的跳转
|
|
|
const signInSuccess = (isNoPower: boolean | undefined) => {
|
|
|
if (isNoPower) {
|