摘要:
vue 项目中可以直接使用 1、常用工具类 utils.js 中 /** * 表单常用正则验证 */ checkStr (str, type) { switch (type) { case 'phone': //手机号码 return /^[1][3,4,5,6,7,8,9][0-9]{9}$/.t 阅读全文
摘要:
vue实现打印的两种方法 vue实现批量打印二维码 (需安装二维码插件qrcodejs2) 一、vue print nb插件 1、安装: npm i vue print nb S 2、全局注册(main.js): 3、使用: 二、手动下载插件到本地 插件地址:https://github.com/x 阅读全文