Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
mlaj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2026-01-26 09:51:21 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a653033028ee507c7f503449723078ff53311cb0
a6530330
1 parent
2b4d2a77
fix(recall): 临时屏蔽身份证号验证以允许测试
由于当前测试需要,暂时移除身份证号格式验证,以便测试流程能顺利通过。添加了TODO注释以便后续恢复验证。
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
11 deletions
src/views/recall/CompleteInfoPage.vue
src/views/recall/IDQueryPage.vue
src/views/recall/CompleteInfoPage.vue
View file @
a653033
<!--
* @Date: 2025-12-23 13:44:58
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2026-01-2
1 13:42:54
* @LastEditTime: 2026-01-2
6 09:51:02
* @FilePath: /mlaj/src/views/recall/CompleteInfoPage.vue
* @Description: 完善信息页面
-->
...
...
@@ -114,12 +114,13 @@ const handleConfirm = async () => {
return
}
// TODO: 临时屏蔽
// 身份证号正则校验 (15位或18位)
const idCardRegex = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/
if (!idCardRegex.test(form.idCard)) {
showToast('请输入正确的身份证号')
return
}
//
const idCardRegex = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/
//
if (!idCardRegex.test(form.idCard)) {
//
showToast('请输入正确的身份证号')
//
return
//
}
const res = await updateUserInfoAPI({
name: form.name,
...
...
src/views/recall/IDQueryPage.vue
View file @
a653033
<!--
* @Date: 2025-12-23 13:44:58
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2026-01-2
1 13:42:30
* @LastEditTime: 2026-01-2
6 09:51:12
* @FilePath: /mlaj/src/views/recall/IDQueryPage.vue
* @Description: 查询信息页面
-->
...
...
@@ -151,10 +151,11 @@ const handleConfirm = async () => {
return
}
if (!validateIdCard(idCard.value)) {
showToast('请输入正确的身份证号')
return
}
// TODO: 临时屏蔽
// if (!validateIdCard(idCard.value)) {
// showToast('请输入正确的身份证号')
// return
// }
const res = await searchOldActivityAPI({
name: name.value,
...
...
Please
register
or
login
to post a comment