随身笔记
随身笔记

wordpress教程

实用的wordpress

redis笔记

1,安装 2,设置密码, 编辑:redis.windows.conf、redis.windows-service.conf # requirepass foobared改成requirepass test123 3,重启 redis-server.exe --service-run "redis.windows-service.conf" 4,再次链接 redis-cli.exe -h 127.0.0.1 -p 6379 -a …

   651   2019-10-10   去围观

移动端使用input type=file时没有type类型判断

js 手机 移动 移动端 input type file type 空 <input id="img1" type="file" name="file" accept="audio/mpeg" /> $('#img1')[0].files[0] //获取到如下图片 在pc端能获取到type类型,但是到了移动端就不能获取了 type为空。   1,解决…

   744   2019-08-08   去围观

解决:Uncaught TypeError: Illegal invocation报错

在使用ajax时,出入的参数不正确才报错的。 url :basePath+API.uploadMusic, type : 'post', clearForm : true, resetForm : true, data:JSON.stringify(formData), //传入的参数不正确,才会报该错误  

   894   2019-08-08   去围观

接口测试工具postman

测试上传文件并携带参数时:     测试请求头信息时:        

   698   2019-05-10   去围观

script标签中defer和async属性的区别

1,默认情况什么都不加时 html按顺序上到下加载,遇到加载js文件时,html停止渲染,开始加载js文件并执行,直到结束时才重新接着渲染html。   2,加async html渲染和加载js文件并行,直到加载完js文件后立马执行js,在执行js的过程中,这时html停止渲…

   677   2019-04-22   去围观
加载更多