Commit eb3caa3c authored by youjie's avatar youjie

no message

parent 105ac837
...@@ -397,7 +397,6 @@ onMounted(async () => { ...@@ -397,7 +397,6 @@ onMounted(async () => {
const queryParams = query() const queryParams = query()
const code = queryParams.code const code = queryParams.code
if (code) { if (code) {
console.log(queryParams,'---------code')
useWechatLogin(code) useWechatLogin(code)
} }
try { try {
......
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
@click.stop="handleAreaCodeChange(option.value)"> @click.stop="handleAreaCodeChange(option.value)">
<div class="flex items-center space-x-3 px-2 py-1"> <div class="flex items-center space-x-3 px-2 py-1">
<!-- <span class="text-lg">{{ option.flag }}</span> --> <!-- <span class="text-lg">{{ option.flag }}</span> -->
<span class="font-medium">{{ option.label }}</span> <span class="font-medium">{{ option.label }}({{ option.value }})</span>
</div> </div>
</a-doption> </a-doption>
</template> </template>
...@@ -463,6 +463,7 @@ const validateEmail = async (email: string) => { ...@@ -463,6 +463,7 @@ const validateEmail = async (email: string) => {
emailValidateStatus.value = 'error' emailValidateStatus.value = 'error'
emailValidateMessage.value = result.message || t('emailValidation.checkFailed') emailValidateMessage.value = result.message || t('emailValidation.checkFailed')
} }
if(!result.isValid) Message.warning(result.message || emailValidateMessage.value)
} catch (error: any) { } catch (error: any) {
console.error('邮箱验证失败:', error) console.error('邮箱验证失败:', error)
emailValidateStatus.value = 'warning' emailValidateStatus.value = 'warning'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment