会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
大耳朵小虎
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
13
下一页
2019年1月17日
5. git 过滤,让某文件夹里无法提交新添加的文件
摘要: . gitignore 向此文件里添加文件路径就行了。如( web/core/ ) 此时git status将看不到添加的文件或文件夹了
阅读全文
posted @ 2019-01-17 19:45 大耳朵小虎
阅读(574)
评论(0)
推荐(0)
2019年1月14日
1. 跨域
摘要: 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)
2019年1月8日
3. pkg
摘要: 程序打包成可执行文件(.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)
2018年10月24日
1. jquery插件手机
摘要: 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)
6. 浅谈super
摘要: this和super: super( ) EX6类的继承, 在react中官方固定应用 在java面向对象思想中这样定义: this表示当前对象,this()为当前对象的其他构造函数 super表示父类对象,super()为父类对象的其他构造函数
阅读全文
posted @ 2018-10-24 10:05 大耳朵小虎
阅读(101)
评论(0)
推荐(0)
8. 禁止复制
摘要: 当页面内容不容许别人复制时候
阅读全文
posted @ 2018-10-24 10:03 大耳朵小虎
阅读(90)
评论(0)
推荐(0)
2018年10月19日
6. 苹果滚动惯性
摘要: 添加以下css: overflow-y: scroll;-webkit-overflow-scrolling: touch;
阅读全文
posted @ 2018-10-19 11:37 大耳朵小虎
阅读(125)
评论(0)
推荐(0)
2018年10月15日
8. input限制手机输入
摘要: 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)
2018年9月19日
5. history
摘要: https://developer.mozilla.org/zh-CN/docs/Web/API/History_API Browser History APIs
阅读全文
posted @ 2018-09-19 11:10 大耳朵小虎
阅读(70)
评论(0)
推荐(0)
2018年9月6日
5. class--extends
摘要: 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
下一页
公告