2bcae8ef by 杨炀

no message

1 parent 6222b1c2
......@@ -135,6 +135,14 @@ function getCountryList() {
const submit = () => {
proxy.$refs.iformRef.validate(valid => {
if (form.value.email.indexOf('@') == -1) {
if (language.value == 0) {
ElMessage.warning('请填写正确的邮箱')
} else {
ElMessage.warning('Please fill in the correct email')
}
return
}
if (valid) {
ElMessageBox.confirm(
language.value == 0 ? '请确认信息正确并提交吗?' : 'Please confirm that the information is correct and submit it',
......@@ -148,7 +156,7 @@ const submit = () => {
form.value.passportCopy = form.value.passportCopy[0].url
}
addInvitation(form.value).then((res) => {
ElMessage.success('提交成功')
ElMessage.success(language.value == 0 ?'提交成功':'Successfully!')
showR.value = true
})
})
......
......@@ -18,7 +18,9 @@
<p>{{ n.belongTime }}</p>
</div>
<div class="item-body">
<h3 class="esp_2"><span class="istop">{{ language==0?'置顶':'TOP' }}</span>{{n.name}}</h3>
<h3 class="esp_2">
<span class="istop" v-if="n.isTop == '1'">{{ language==0?'置顶':'TOP' }}</span>
{{n.name}}</h3>
</div>
<a class="go">{{ language==0?'查看详情':'DETAIL' }}</a>
</div>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!