Commit a24615215383a1769cbab878961b49bd319fca37
1 parent
a0299143
fix: 1803 修复短信登录未输入手机或者验证码不应该请求接口和此提示信息
Showing
1 changed file
with
2 additions
and
2 deletions
... | ... | @@ -69,8 +69,8 @@ export function useFormRules(formData?: Recordable) { |
69 | 69 | const mobileFormRule = unref(getMobileFormRule); |
70 | 70 | |
71 | 71 | const mobileRule = { |
72 | - sms: smsFormRule, | |
73 | - mobile: mobileFormRule, | |
72 | + code: smsFormRule, | |
73 | + phoneNumber: mobileFormRule, | |
74 | 74 | }; |
75 | 75 | switch (unref(currentState)) { |
76 | 76 | // register form rules | ... | ... |