feat:接口联调

This commit is contained in:
2026-07-21 11:09:17 +08:00
parent eea6319c41
commit 538194d8a5
39 changed files with 3553 additions and 3386 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ function validate() {
if (!form.value.name.trim()) nextErrors.name = '请填写您的姓名'
if (!form.value.company.trim()) nextErrors.company = '请填写公司名称'
if (!form.value.contact.trim()) {
nextErrors.contact = '请填写手机号或邮箱'
nextErrors.contact = '请填写手机号'
} else if (
!/^(1\d{10}|[\w.+-]+@[\w.-]+\.[A-Za-z]{2,}|[\d\s()+-]{6,})$/.test(form.value.contact.trim())
) {
@@ -143,7 +143,7 @@ onBeforeUnmount(() => {
v-model="form.contact"
type="text"
autocomplete="tel"
placeholder="手机号或工作邮箱"
placeholder="手机号"
/>
<small v-if="errors.contact">{{ errors.contact }}</small>
</label>