Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2022-11-21 16:05:41 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
49b5e33dbdd97a08263e67307359ed40fa96a4ca
49b5e33d
1 parent
01a00dac
fix
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletions
src/components/IdentityField/index.vue
src/components/IdentityField/index.vue
View file @
49b5e33
...
...
@@ -55,7 +55,6 @@ const blurKeyboard = () => {
// 校验函数返回 true 表示校验通过,false 表示不通过
// 身份证号码为15位或者18位,15位时全为数字,18位前17位为数字,最后一位是校验位,可能为数字或字符X
const validator = (val) => {
console.warn(props.item.component_props.required);
if (!props.item.component_props.required) {
// 非必填
return true;
...
...
Please
register
or
login
to post a comment