上一页 1 2 3 4 5 6 7 8 ··· 16 下一页
摘要: https://chokcoco.github.io/magicCss/html/index.html .hover-title{ position: absolute; top: 50%;left: 50%; transform: translate(-50%, -50%); width:120p 阅读全文
posted @ 2020-07-31 15:55 杀生丸11 阅读(179) 评论(0) 推荐(0) 编辑
摘要: fetch在默认情况下, 不管是同域还是跨域ajax请求都不会带上cookie, 只有当设置了 credentials 时才会带上该ajax请求所在域的cookie, 服务端需要设置响应头 Access-Control-Allow-Credentials: true, 否则浏览器会因为安全限制而报错 阅读全文
posted @ 2020-06-15 17:25 杀生丸11 阅读(483) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/a0a399a04be2 阅读全文
posted @ 2020-06-09 19:31 杀生丸11 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 未优化前 优化后 记得要在服务器或者nginx配置相关压缩的文件类型,否则不会生效 阅读全文
posted @ 2020-06-09 19:23 杀生丸11 阅读(535) 评论(0) 推荐(0) 编辑
摘要: https://segmentfault.com/a/1190000012828879 https://www.jianshu.com/p/5a543a0284f6 https://foio.github.io/wepack-code-spliting/ https://www.jianshu.co 阅读全文
posted @ 2020-06-08 20:04 杀生丸11 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 1、需要设置移动端meta标签的加载问题,利用html 模板在head内部引入动态js, 关于js内部的rem判断问题, 较好的阐述了移动端的viewport问题 https://www.cnblogs.com/2050/p/3877280.html 阅读全文
posted @ 2020-06-01 17:59 杀生丸11 阅读(164) 评论(0) 推荐(0) 编辑
摘要: v-if item.path != undefined一定要加上,因为先渲染的页面再获取到url的值 <router-link v-if="(!item.systemMenuDtoList || (item.systemMenuDtoList && item.systemMenuDtoList.le 阅读全文
posted @ 2020-05-20 19:50 杀生丸11 阅读(482) 评论(0) 推荐(0) 编辑
摘要: 在非开发环境时由于,导出文件跨越且走了nginx,导致导出的文件会直接变为html格式的,是因为把他直接进行预览了,在资源请求时, 由于跨域请求不到 较好的跨域资源阐述以及性能优化的一个点 https://zhuanlan.zhihu.com/p/70032617 阅读全文
posted @ 2020-04-20 11:03 杀生丸11 阅读(457) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-04-03 18:06 杀生丸11 阅读(0) 评论(0) 推荐(0) 编辑
摘要: GitHub地址 https://github.com/sindresorhus/screenfull.js 例子 https://www.jianshu.com/p/cfbb13c32c9c vue-fullscreen更适用于vue项目的全屏中 https://mirari.cc/2017/08 阅读全文
posted @ 2020-04-01 18:40 杀生丸11 阅读(728) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 16 下一页