|  | @@ -55,7 +55,7 @@
 | 
	
		
			
				|  |  |  		</view>
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  		<el-form-item class="login-animation4">
 | 
	
		
			
				|  |  | -			<el-button type="primary" class="login-content-submit" round v-waves @click="onSignIn" :loading="state.loading.signIn">
 | 
	
		
			
				|  |  | +			<el-button type="primary" class="login-content-submit" round v-waves @click="onSignInThor" :loading="state.loading.signIn">
 | 
	
		
			
				|  |  |  				<span>{{ $t('message.account.accountBtnText') }}</span>
 | 
	
		
			
				|  |  |  			</el-button>
 | 
	
		
			
				|  |  |  		</el-form-item>
 | 
	
	
		
			
				|  | @@ -75,7 +75,8 @@ import { initBackEndControlRoutes } from '/@/router/backEnd';
 | 
	
		
			
				|  |  |  import { Session } from '/@/utils/storage';
 | 
	
		
			
				|  |  |  import { formatAxis } from '/@/utils/formatTime';
 | 
	
		
			
				|  |  |  import { NextLoading } from '/@/utils/loading';
 | 
	
		
			
				|  |  | -import Login from '/@/api/login/login.ts';
 | 
	
		
			
				|  |  | +import Login from '/@/api/login/login';
 | 
	
		
			
				|  |  | +import { debounce, throttle } from 'lodash';
 | 
	
		
			
				|  |  |  // import { setBackEndControlRefreshRoutes } from "/@/router/backEnd";
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  // 定义变量内容
 | 
	
	
		
			
				|  | @@ -148,7 +149,10 @@ const flushCode = () => {
 | 
	
		
			
				|  |  |  const currentTime = computed(() => {
 | 
	
		
			
				|  |  |  	return formatAxis(new Date());
 | 
	
		
			
				|  |  |  });
 | 
	
		
			
				|  |  | -// 登录
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  | +/**
 | 
	
		
			
				|  |  | + * 登录
 | 
	
		
			
				|  |  | + */
 | 
	
		
			
				|  |  |  const onSignIn = async () => {
 | 
	
		
			
				|  |  |  	if (state.ruleForm.code != state.codeNum) {
 | 
	
		
			
				|  |  |  		return ElMessage.error('验证码不正确');
 | 
	
	
		
			
				|  | @@ -192,6 +196,10 @@ const onSignIn = async () => {
 | 
	
		
			
				|  |  |  		signInSuccess(isNoPower);
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  |  };
 | 
	
		
			
				|  |  | +/**
 | 
	
		
			
				|  |  | + * 防抖登录
 | 
	
		
			
				|  |  | + */
 | 
	
		
			
				|  |  | +const onSignInThor = debounce(onSignIn, 1000)
 | 
	
		
			
				|  |  |  // 登录成功后的跳转
 | 
	
		
			
				|  |  |  const signInSuccess = (isNoPower: boolean | undefined) => {
 | 
	
		
			
				|  |  |  	if (isNoPower) {
 |