Commit fdf8993c authored by chenqikuai's avatar chenqikuai

修复错误提示

parent cffbfb55
......@@ -125,13 +125,13 @@ export const generateStep2FormList = (submit: any) => {
type: "primary",
},
styles: "margin-top: 10px;margin-left: 50px;",
async onSubmit(valid, data) {
async onSubmit(valid, data, setError) {
if (valid) {
data = {
phone: data.新手机号,
code: data.验证码,
};
submit(data);
submit(data, setError);
}
},
},
......
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