dandanyajin
今天更新博客了吗?
posts - 81,comments - 1,views - 75998
01 2021 档案
前端 对身份证号和手机号的验证及模糊处理
摘要:一,身份证号的模糊处理 userIdCard.replace(/^(\d{6})\d+(\w{4})$/, "\$1********\$2") 二,手机号的模糊处理 tel.replace(/^(\d{3})\d+(\d{4})$/, '\$1****\$2') 三,手机号的验证 function 阅读全文
posted @ 2021-01-27 09:46 dandanyajin 阅读(1073) 评论(0) 推荐(0) 编辑
修改gitLab 密码后, sourcetree无法推送
摘要:重新输入一下密码就好。 然后接着push。 会提示你填账户密码(gitlab的) 阅读全文
posted @ 2021-01-22 16:32 dandanyajin 阅读(648) 评论(0) 推荐(0) 编辑
时间形式的转换
摘要:关于时间 获取当前时间: new Date() // Fri Jan 22 2021 14:40:45 GMT+0800 (中国标准时间) new Date().getFullYear() // 2021 new Date().getMonth() // 0 (获取月时记得 +1 ) new Dat 阅读全文
posted @ 2021-01-22 15:39 dandanyajin 阅读(146) 评论(0) 推荐(0) 编辑
vue 按enter键 进行搜索或者表单提交
摘要:@keydown.enter.native="confirm" confirm为提交的方法 通常是加在 input 标签上 阅读全文
posted @ 2021-01-19 19:53 dandanyajin 阅读(1034) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示