摘要:
需要node环境 npm install -g http-server // 创建文件夹 mkdir test // cd进入目录 cd test // 命令行http-server开启http本地服务,默认端口8080 http-server View Code 阅读全文
摘要:
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8080 阅读全文
摘要:
设置淘宝镜像 取消淘宝镜像 阅读全文
摘要:
Array.prototype.indexOf = function(val) { for (var i = 0; i -1) { this.splice(index, 1); } }; 阅读全文
摘要:
路由跳转 子页面路由接受参数 阅读全文
摘要:
接口地址https://www.apiopen.top/ 阅读全文
摘要:
信箱正则验证 用途:检查输入的Email信箱格式是否正确 输入:strEmail:字符串 返回:如果通过验证返回true,否则返回false function checkEmail(strEmail) { //var emailReg = /^[_a-z0-9]+@([_a-z0-9]+\.)+[a 阅读全文
摘要:
$("input[type='checkbox']").bind("click", function () { var len =$("input[type='checkbox']:checked").length;//选中的checkbox的数量 }) 阅读全文