摘要:
const reg = /(\d{3})(\d{4})(\d{4})/;return (date) => { if(!date) return ''; return date.replace(reg, "$1****$3")} 阅读全文
posted @ 2023-05-22 11:40
膽小
阅读(137)
评论(0)
推荐(0)
摘要:
this.countdownTime = null;let send = 60;--send;this.getSmsCodeTip = `${send}s后重新获取`;this.countdownTime = setInterval(()=>{ --send; if(send 0){ this.ge 阅读全文
posted @ 2023-05-22 11:38
膽小
阅读(18)
评论(0)
推荐(0)
摘要:
const Util = window.Util || {};Util.uniqueId = (length = 16, namespace = "jk") => { let text = ""; const possible = "abcdefghijklmnopqrstuvwxyz0123456 阅读全文
posted @ 2023-05-22 11:36
膽小
阅读(33)
评论(0)
推荐(0)
摘要:
Date.prototype.DateFormat = function (fmt) { fmt = fmt || "yyyy-MM-dd"; const o = { "M+": this.getMonth() + 1, "d+": this.getDate(), "h+": this.getHou 阅读全文
posted @ 2023-05-22 11:32
膽小
阅读(20)
评论(0)
推荐(0)
摘要:
/* eslint no-useless-escape: 0 */const reg = { // 包含中文 cn: /[\u4E00-\u9FA5]/g, mobile: /^[1][3|4|5|6|7|8|9][0-9]{9}$/, telephone: /^((0\d{2,3})-)(\d{7 阅读全文
posted @ 2023-05-22 11:29
膽小
阅读(48)
评论(0)
推荐(0)

浙公网安备 33010602011771号