This commit is contained in:
2026-02-26 11:45:32 +08:00
parent 11d7093af6
commit 708b1f7a36
53 changed files with 1101 additions and 348 deletions

View File

@@ -54,6 +54,7 @@
</template>
<visible-code
v-show="isVisible"
type="REGISTER"
ref="visibleCodeRef"
:email="formData.email"
@submit="onVerifyCode"
@@ -65,6 +66,7 @@
</template>
<script setup lang="ts">
import md5 from 'md5'
import { Register } from '@/api/login'
import { computed, reactive, ref } from 'vue'
import { useRouter } from 'vue-router'
@@ -113,7 +115,7 @@
Register({
username: formData.name,
email: formData.email,
password: formData.password,
password: md5(formData.password),
verificationCode: code
})
.then((res) => {