11 2021 档案
摘要:用法: 1 if (!(/(^[1-9]\d*$)/.test(num))) { 2 alert(‘输入的不是正整数’); 3 return false; 4 }else { 5 alert(‘输入的是正整数’); 6 } 判断数字、浮点的正则表达: 1 ”^\\d+$” //非负整数(正整数 +
阅读全文
摘要:vue 版本: "^2.5.2" webpack版本: "^3.6.0" 1. 首次打包之后页面空白 修改config/index/build/assetsPublicPath 为“./” 1 build: { 3 index: path.resolve(__dirname, '../dist/in
阅读全文