|
|
@@ -74,7 +74,7 @@
|
|
|
<img src="@/assets/images/login/login-lock.svg" />
|
|
|
</div>
|
|
|
<el-input
|
|
|
- v-model="loginForm.password"
|
|
|
+ v-model="loginForm.code"
|
|
|
placeholder="请输入验证码"
|
|
|
type="text"
|
|
|
maxlength="6"
|
|
|
@@ -195,7 +195,7 @@ const handleLogin = async () => {
|
|
|
const res = await useUserInfoStore.loginAction({
|
|
|
"site":1,
|
|
|
"username":loginForm.username,
|
|
|
- "password":loginForm.password,
|
|
|
+ "password":activeTab.value === '0' ? loginForm.password : loginForm.code,
|
|
|
"type": activeTab.value,
|
|
|
"device":"aigc-photo"
|
|
|
})
|