Commit f6b85435 by 胡悦

xiugai

1 parent a6dde235
......@@ -13,6 +13,7 @@
placeholder="请输入爱车车牌"
:formatter="formatter"
maxlength="8"
clearable
:rules="[
{ required: true, message: '请输入爱车车牌' },
{ validator: isVehicleNumber, message: '请输入正确的车牌' },
......@@ -24,6 +25,7 @@
name="mobile"
placeholder="请输入手机号码"
maxlength="11"
clearable
:rules="[
{ required: true, message: '请输入手机号码' },
{ validator: isTel, message: '请输入正确的手机号' },
......@@ -35,6 +37,7 @@
name="captcha"
maxlength="4"
placeholder="请输入验证码"
clearable
:rules="[{ required: true, message: '请输入验证码' }]"
>
<template #button>
......
......@@ -98,7 +98,7 @@ const getCode = async (value: string) => {
}
// 提交注册
const onRegister = async (values: object) => {
const params = { ...values }
const params:{cardName?: string, name?: string} = { ...values }
params.cardName = params.name
console.log(params)
const res = await req('scrm.api.renewal.h5.customer.register', params, true)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!