mirror of
https://github.com/PlayEdu/backend
synced 2025-06-29 10:34:14 +08:00
学员身份证号验证优化
This commit is contained in:
parent
b3101b812f
commit
350e6f5897
@ -1,5 +1,5 @@
|
|||||||
.video-list {
|
.video-list {
|
||||||
width: calc(100% -100px);
|
width: calc(100% - 100px);
|
||||||
height: auto;
|
height: auto;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -69,7 +69,7 @@ export const MemberCreate: React.FC<PropInterface> = ({ open, onCancel }) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const onFinish = (values: any) => {
|
const onFinish = (values: any) => {
|
||||||
if (!ValidataCredentials(values.idCard)) {
|
if (values.idCard !== "" && !ValidataCredentials(values.idCard)) {
|
||||||
message.error("请输入正确的身份证号!");
|
message.error("请输入正确的身份证号!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user