posted @ 2018-09-05 10:29
niunf
阅读(283)
推荐(0)
摘要:
异步缓存 :不会阻塞当前任务 同步缓存:直到同步方法处理完才能继续往下执行
阅读全文
posted @ 2018-08-30 16:41
niunf
阅读(721)
推荐(0)
摘要:
<input type="button" id="btn" value="点我"><script> var btn = document.getElementById("btn");btn.addEventListener("mousedown",function(){ console.log("m
阅读全文
posted @ 2018-08-14 14:04
niunf
阅读(184)
推荐(0)
摘要:
1. My97DatePicker与angular一起使用时改变了但是angular无法监测到变化解决方式
阅读全文
posted @ 2018-07-18 10:05
niunf
阅读(121)
推荐(0)
摘要:
1. 双击shift 查找某个文件(css, html , js); 2. 双击shift 输入某个 指令 / 过滤器 名字,查找其所在文件; 3. 查看 某个变量在哪使用了 选中变量,Alt+f7 或者 右键,find usage; 4. 新增图片 用编辑器 提交 5. 查看本地历史 选中文件,右
阅读全文
posted @ 2018-07-12 17:13
niunf
阅读(160)
推荐(0)
摘要:
html符号<!--空格--> <div> </div> 或者<div> </div><!--&--> <div>&</div><!--&--> <div>&</div><!--<--> <div><</div><!-- > --> <div>></div
阅读全文
posted @ 2018-07-05 11:27
niunf
阅读(125)
推荐(0)
摘要:
1.修改placeholder颜色<style> input::-webkit-input-placeholder{ color:red; } input::-moz-placeholder{ /* Mozilla Firefox 19+ */ color:red; } input:-moz-pla
阅读全文
posted @ 2018-06-27 19:35
niunf
阅读(364)
推荐(0)
摘要:
1. /api 跟目录(到端口的) eg: http://localhost/dll.html#/MM/pic 到 http://localhost:80/ 2. api 当前目录 3. ./api 当前目录(),到二级域名的 eg: http://60.247.77.147/robotv5/dll
阅读全文
posted @ 2018-06-13 18:15
niunf
阅读(770)
推荐(0)
摘要:
//angularJS $scope的 $watch 方法监听model改变 //$scope有个 $watch 方法,可以监听指定的model的改变,一旦model改变则触发(执行)传入其中的方法,该方法接收三个参数: //$scope.$watch('要监听的model名',function(n
阅读全文
posted @ 2018-05-18 14:20
niunf
阅读(332)
推荐(0)
摘要:
修改地址: 找到该项目根目录下, .git > config 文件 > 编辑器打开,,,,修改 url = https://username@github.com/username/project.git ; 提交返回403 没有权限;
阅读全文
posted @ 2018-05-18 10:24
niunf
阅读(298)
推荐(0)