d4f3bf76 by 杨炀

no message

1 parent 0317fab9
......@@ -346,9 +346,9 @@ function sendsmsMsg() {
// 忘记密码发信息
if (!changePasswordForm.value.username) {
if (language.value == 0) {
ElMessage.warning('请填写手机/邮箱')
ElMessage.warning('请填写邮箱')
} else {
ElMessage.warning('Please fill in your phone/email address')
ElMessage.warning('Please fill in your Email address')
}
return
}
......
......@@ -7,7 +7,7 @@
<el-form-item required :label="item.realName" v-for="item in list">
<div v-show="item.checked==2">{{ item.wdsfMin }}</div>
<el-input :disabled="item.checked==1" type="number" v-show="item.checked!=2"
v-model="item.wdsfMin" :placeholder="language==0?'绑定WDSF会员号':'Bind WDSF Number'"
v-model="item.wdsfMin" :placeholder="language==0?'绑定WDSF会员号':'Bind WDSF MIN'"
>
<template #append>
<view @click="checkCode(item)" class="checkbb">
......
......@@ -59,7 +59,7 @@
<div class="item"><label>Event Name</label>{{ matchInfo.name }}</div>
</div>
<div>
<div class="item"><label>Event Type</label>{{ matchInfo.level }}</div>
<div class="item"><label>Event Level</label>{{ matchInfo.level }}</div>
</div>
<div>
<div class="item"><label>Event Date</label>{{ matchInfo.beginTime?.slice(0, 10) }} ~
......
......@@ -99,7 +99,7 @@
I have read and accepted the Registration
<a class="text-primary" @click.stop="showAgreeMent">Agreement</a>
and
<a class="text-primary" @click.stop="showAgreeMent">Personal Information Protection Policy
<a class="text-primary" @click.stop="showPolicy">Personal Information Protection Policy
</a>
</div>
</div>
......@@ -123,7 +123,8 @@ import * as match from "@/apiPc/match";
import {ElMessage} from "element-plus";
import {setToken} from "@/utils/auth";
import {useStorage} from "@vueuse/core/index";
import {useRouter} from "vue-router";
const router = useRouter()
const {proxy} = getCurrentInstance()
const emit = defineEmits(['submit', 'prev'])
const language= useStorage('language',0)
......@@ -222,8 +223,8 @@ const goStep3 = () => {
ElMessage.warning(language.value == 0?'请输入密码':'Please enter password')
return
}
if (!form.value.password) {
ElMessage.warning(language.value == 0?'请输入密码':'Please enter password')
if (!form.value.confirmPassword) {
ElMessage.warning(language.value == 0?'请再次输入密码':'Please enter password')
return
}
loading.value = true
......@@ -244,7 +245,16 @@ const goStep3 = () => {
}
const showAgreeMent = () => {
console.log('111')
const routeLocation = router.resolve({
name: 'userAgreement',
})
window.open(routeLocation.href, '_blank')
}
const showPolicy = () => {
const routeLocation = router.resolve({
name: 'policy',
})
window.open(routeLocation.href, '_blank')
}
onMounted(() => {
console.log(props)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!