04 2024 档案

摘要:1.改变原数组的方法 var arr = [] arr.splice() arr.reverse() arr.fill() arr.copyWithin() arr.sort() arr.push() arr.pop() arr.unshift() arr.shift() arr.splice() 阅读全文
posted @ 2024-04-28 15:58 磊~~ 阅读(193) 评论(0) 推荐(0) 编辑
摘要://添加.replace(/=+/,)replace(/[\r\n]/g,"")base64this.nextTick(()=>{ let urlType = '',base64code = '' if(type.toUpperCase() 'PDF'){ 阅读全文
posted @ 2024-04-17 17:37 磊~~ 阅读(421) 评论(0) 推荐(0) 编辑
摘要:参考资料: https://www.cnblogs.com/zhangzl419/p/15210835.html 1、什么时候使用npm link? npm link用来在本地项目和本地npm包之间建立连接,可以在本地进行模块测试。 npm包在开发和迭代更新时,不适合直接发布到线上或者直接发布测试版 阅读全文
posted @ 2024-04-15 15:29 磊~~ 阅读(2836) 评论(0) 推荐(1) 编辑
摘要:身份证验证: /^[1-9]\d{5}(19|20)\d{2}(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])\d{3}[\dxX]$/ 这个正则表达式的含义是: - ^[1-9]\d{5} :匹配地区码,1-9开头的6位数字 - (19|20)\d{2} :匹配年份,19或 阅读全文
posted @ 2024-04-10 11:50 磊~~ 阅读(7) 评论(0) 推荐(0) 编辑
摘要:<el-image style="width: 300px; height: 150px" :src="url" :preview-src-list="srcList"> </el-image> this.url='data:image/png;base64,' + row.PAGE_IMG 其他格 阅读全文
posted @ 2024-04-09 15:09 磊~~ 阅读(810) 评论(0) 推荐(0) 编辑

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