mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-01 02:38:43 +08:00 
			
		
		
		
	perf: login
This commit is contained in:
		| @@ -43,11 +43,6 @@ const { t } = useI18n() | |||||||
| const iconHouse = useIcon({ icon: 'ep:house' }) | const iconHouse = useIcon({ icon: 'ep:house' }) | ||||||
| const iconAvatar = useIcon({ icon: 'ep:avatar' }) | const iconAvatar = useIcon({ icon: 'ep:avatar' }) | ||||||
| const iconLock = useIcon({ icon: 'ep:lock' }) | const iconLock = useIcon({ icon: 'ep:lock' }) | ||||||
| const LoginCaptchaRules = { |  | ||||||
|   tenantName: [required], |  | ||||||
|   username: [required], |  | ||||||
|   password: [required] |  | ||||||
| } |  | ||||||
| const LoginRules = { | const LoginRules = { | ||||||
|   tenantName: [required], |   tenantName: [required], | ||||||
|   username: [required], |   username: [required], | ||||||
| @@ -142,7 +137,7 @@ onMounted(() => { | |||||||
| <template> | <template> | ||||||
|   <el-form |   <el-form | ||||||
|     :model="loginData.loginForm" |     :model="loginData.loginForm" | ||||||
|     :rules="loginData.captchaEnable ? LoginCaptchaRules : LoginRules" |     :rules="LoginRules" | ||||||
|     label-position="top" |     label-position="top" | ||||||
|     class="login-form" |     class="login-form" | ||||||
|     label-width="120px" |     label-width="120px" | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 xingyu
					xingyu