上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 21 下一页
摘要: &符号的意思是对变量取内存地址*符号的意思是对指针取值 阅读全文
posted @ 2019-09-30 11:06 fsdzh 阅读(128) 评论(0) 推荐(0)
摘要: ... 阅读全文
posted @ 2019-09-17 23:48 fsdzh 阅读(104) 评论(0) 推荐(0)
摘要: 子组件取名headtop 不行headtop1和其他的就行,唉 后面发现是第一次路径错了 然后在其他地方复制了这个组件 引入的是复制的组件导致的这个问题 阅读全文
posted @ 2019-09-16 22:44 fsdzh 阅读(268) 评论(0) 推荐(0)
摘要: 使用ctx.clip()之后每次重绘都是同一张图片 刚开始思考是不是需要每次先清除画布再绘制 ctx.clearRect() 发现还是不行 然后调整代码顺序 ,一行一行代码注释 看是哪个的问题 发现是clip()的问题 思考良久 后面想了一下 百度看一下clip()的语法 有网友说 试了一下 OK 阅读全文
posted @ 2019-07-24 21:47 fsdzh 阅读(355) 评论(0) 推荐(0)
摘要: js设计模式 阅读全文
posted @ 2019-06-23 20:38 fsdzh 阅读(100) 评论(0) 推荐(0)
摘要: .slice(-4) 截取后四位字符串 阅读全文
posted @ 2019-02-25 22:25 fsdzh 阅读(123) 评论(0) 推荐(0)
摘要: console.log(/Safari/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent)); 苹果手机获取时间戳 let stopTime = new Date('2019/02/11 0:00:00').getTim 阅读全文
posted @ 2019-01-04 18:00 fsdzh 阅读(2845) 评论(0) 推荐(0)
摘要: var layout_width = 750; (function(doc, win) { var docEl = doc.documentElement, resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize', recalc = function() { ... 阅读全文
posted @ 2018-11-28 15:54 fsdzh 阅读(410) 评论(0) 推荐(0)
摘要: const actions={ updateUsername: ( { commit},value )=>{ console.log("actions updateUsername"); commit('updateUsername',value) }} 不能这样写{commit,value}props传boolean 要用单引号 componen-title='false'双... 阅读全文
posted @ 2018-11-23 19:55 fsdzh 阅读(124) 评论(0) 推荐(0)
摘要: 打开CMD,进入MONGO的安装文件夹,输入以下命令 Mongoimport.exe --db 数据库名 --collection pi --file 数据文件地址(json) mongoimport --db users --collection contacts --file E:\contac 阅读全文
posted @ 2018-11-19 00:31 fsdzh 阅读(97) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 21 下一页