fix
This commit is contained in:
@@ -50,6 +50,8 @@
|
||||
</template>
|
||||
<visible-code
|
||||
v-show="isVisible"
|
||||
type="LOGIN"
|
||||
:password="formData.password"
|
||||
ref="visibleCodeRef"
|
||||
:email="formData.email"
|
||||
@submit="onVerifyCode"
|
||||
@@ -61,6 +63,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import md5 from 'md5'
|
||||
import { Login } from '@/api/login'
|
||||
import { computed, reactive, ref } from 'vue'
|
||||
import { useRouter } from 'vue-router'
|
||||
@@ -106,7 +109,7 @@
|
||||
// console.log(code)
|
||||
Login({
|
||||
email: formData.email,
|
||||
password: formData.password,
|
||||
password: md5(formData.password),
|
||||
verificationCode: code
|
||||
})
|
||||
.then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user