上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 24 下一页
摘要: 最近在使用vue axios发送请求,结果出现跨域问题,网上查了好多,发现有好几种结局方案。1:服务器端设置跨域header(“Access-Control-Allow-Origin:*”);header(“Access-Control-Allow-Headers:content-type”);he 阅读全文
posted @ 2019-03-14 11:18 南瓜壳 阅读(67674) 评论(1) 推荐(3) 编辑
摘要: 一 设置Git的user name和email git config --global user.name "xxx" git config --global user.email "xxx@xxx.com" 二 生成SSH密钥过程1、查看是否已经有了ssh密钥:cd ~/.ssh如果没有密钥则不会 阅读全文
posted @ 2019-03-08 14:49 南瓜壳 阅读(37198) 评论(0) 推荐(0) 编辑
摘要: TRUNCATE TABLE 表名字; 让数据表清空数据并且id从0开始 阅读全文
posted @ 2019-03-08 13:20 南瓜壳 阅读(1527) 评论(0) 推荐(0) 编辑
摘要: 1. (function(){alert("1")})() (function(){alert("2")})() 报错 2. (function(){alert("1")})(); (function(){alert("2")})() 正确 没有分号分隔挨着的函数,就会出错。应该跟JS的解析有关。 阅读全文
posted @ 2019-03-05 17:11 南瓜壳 阅读(817) 评论(0) 推荐(1) 编辑
摘要: //判断浏览器类型function getweb(){ if((!!window.ActiveXObject || "ActiveXObject" in window){ return "IE"; } ifnavigator.userAgent.indexOf("Firefox")!=-1){ re 阅读全文
posted @ 2019-03-04 13:55 南瓜壳 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 1.函数声明函数不会执行而函数表达式会执行 2.class面向对象也是同样的操作 阅读全文
posted @ 2019-03-04 09:52 南瓜壳 阅读(94) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq1147093833/article/details/80624667 破解网址 阅读全文
posted @ 2019-02-28 15:15 南瓜壳 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 面向对象式: 函数式: 阅读全文
posted @ 2019-02-22 10:49 南瓜壳 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 1、关于webpack没有全局安装下的启动命令 node_modules/.bin/webpack 2、如果全局安装 npm install webpack -g 全局安装后的启动命令是 webpack 3、可在package中配置 阅读全文
posted @ 2019-02-20 16:55 南瓜壳 阅读(633) 评论(0) 推荐(0) 编辑
摘要: 1、警告框 mui.alert( message, title, btnValue, callback [, type] ) titleType: String提示对话框上显示的标题btnValueType: String提示对话框上按钮显示的内容callbackType: String提示对话框上 阅读全文
posted @ 2019-02-19 15:33 南瓜壳 阅读(348) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 24 下一页