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
2024-08-23 14:08:36 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ee6771820a7c79daa62bc0725bfdc1bd7207c42f
ee677182
1 parent
a60aff28
fix 修复判断错误
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/components/IdentityField/index.vue
src/components/IdentityField/index.vue
View file @
ee67718
<!--
* @Date: 2022-09-14 14:44:30
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-08-23 1
3:51:02
* @LastEditTime: 2024-08-23 1
4:07:29
* @FilePath: /data-table/src/components/IdentityField/index.vue
* @Description: 身份证输入控件
-->
...
...
@@ -183,7 +183,7 @@ var checkCode = function (val) {
const idCard = {
verify: function (val) {
if (val.indexOf('*') !== -1) { // 默认值是加密模式,跳过校验
if (val.indexOf('*') !== -1
&& data_type.value === 'encrypt_mode'
) { // 默认值是加密模式,跳过校验
return true;
}
if (checkCode(val)) {
...
...
Please
register
or
login
to post a comment