上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
摘要: . gitignore 向此文件里添加文件路径就行了。如( web/core/ ) 此时git status将看不到添加的文件或文件夹了 阅读全文
posted @ 2019-01-17 19:45 大耳朵小虎 阅读(574) 评论(0) 推荐(0)
摘要: app.all("*", function(req, res, next) { res.header("Access-Control-Allow-Origin", "*"); res.header("Access-Control-Allow-Headers", "content-type,Autho 阅读全文
posted @ 2019-01-14 15:12 大耳朵小虎 阅读(99) 评论(0) 推荐(0)
摘要: 程序打包成可执行文件(.exe) 1.) npm install -g pkg 2.) 单个文件:pkg entrance.js ( windows: pkg -t win entrance.js ) 3.) pkg -t win package.json 4.) package.json的配置添加 阅读全文
posted @ 2019-01-08 10:16 大耳朵小虎 阅读(169) 评论(0) 推荐(0)
摘要: 1. http://jqtjs.com/preview/demos/main/index.html#home2. jquery weUI 插件:https://blog.csdn.net/u013314786/article/details/46839965 阅读全文
posted @ 2018-10-24 13:56 大耳朵小虎 阅读(115) 评论(0) 推荐(0)
摘要: this和super: super( ) EX6类的继承, 在react中官方固定应用 在java面向对象思想中这样定义: this表示当前对象,this()为当前对象的其他构造函数 super表示父类对象,super()为父类对象的其他构造函数 阅读全文
posted @ 2018-10-24 10:05 大耳朵小虎 阅读(101) 评论(0) 推荐(0)
摘要: 当页面内容不容许别人复制时候 阅读全文
posted @ 2018-10-24 10:03 大耳朵小虎 阅读(90) 评论(0) 推荐(0)
摘要: 添加以下css: overflow-y: scroll;-webkit-overflow-scrolling: touch; 阅读全文
posted @ 2018-10-19 11:37 大耳朵小虎 阅读(125) 评论(0) 推荐(0)
摘要: 1. 只能输入数字: <input id="num" type="number" value="0" onkeyup="value=value.replace(/[^\d]/g,'')"> 2. 只能输入手机号: if (dom.type "number") { v_2 = v.replace(/[ 阅读全文
posted @ 2018-10-15 17:02 大耳朵小虎 阅读(241) 评论(0) 推荐(0)
摘要: https://developer.mozilla.org/zh-CN/docs/Web/API/History_API Browser History APIs 阅读全文
posted @ 2018-09-19 11:10 大耳朵小虎 阅读(70) 评论(0) 推荐(0)
摘要: ES5: function article(x,y){ this.x = x; this.y = y; } article.prototype.say = function() { return (this.x + "的年纪=" + this.y) } var person = new articl 阅读全文
posted @ 2018-09-06 14:48 大耳朵小虎 阅读(106) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页