上一页 1 2 3 4 5 6 7 8 ··· 10 下一页

2020年6月30日

摘要: https://jingyan.baidu.com/article/f3ad7d0f2cfc4a09c3345bb6.html 上述链接的两种方法试了都没用,我的是文件名有点长,路径超级深,因为文件名只有十几个字符而已,一直没有发现是文件也有过长的问题。 阅读全文

posted @ 2020-06-30 11:28 博客sl 阅读(224) 评论(0) 推荐(0)

2020年6月29日

摘要: 1、区别 watch中的函数是不需要调用的 computed内部的函数调用的时候不需要加(),因为内部不是函数,而是属性对象只有get方法时的简写。 watch 属性监听 监听属性的变化 computed:计算属性通过属性计算而得来的属性 watch需要在数据变化时执行异步或开销较大的操作时使用 对 阅读全文

posted @ 2020-06-29 14:11 博客sl 阅读(222) 评论(0) 推荐(0)

2020年6月23日

摘要: 原文:https://www.sohu.com/a/340973556_120104204 阅读全文

posted @ 2020-06-23 14:29 博客sl 阅读(140) 评论(0) 推荐(0)

2020年6月19日

摘要: 作者:java高并发框架链接:https://zhuanlan.zhihu.com/p/145837536来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 1.通过JSONP 利用 <script> 标签没有跨域限制的漏洞,网页可以得到从其他来源动态产生的 JSON 数 阅读全文

posted @ 2020-06-19 14:12 博客sl 阅读(214) 评论(0) 推荐(0)

2020年6月18日

摘要: ajax的请求比普通请求多了一个“X-Requested-With”属性。 如果 requestedWith 为 XMLHttpRequest 则为 Ajax 请求。 String requestedWith = ((HttpServletRequest) request).getHeader("X 阅读全文

posted @ 2020-06-18 17:48 博客sl 阅读(296) 评论(0) 推荐(0)

摘要: 原生JS发送Ajax请求、JSONP <script type="text/javascript">//调用ajax函数ajax({url:'./TestXHR.aspx',type:'POST',dataType:'json',data:{name:"马各马它",age:18},success:f 阅读全文

posted @ 2020-06-18 15:40 博客sl 阅读(943) 评论(0) 推荐(0)

2020年6月1日

摘要: 一、调用FileReader对象的方法 方法名 参数 描述abort none 中断读取readAsBinaryString file 将文件读取为二进制码readAsDataURL file 将文件读取为 DataURLreadAsText file, [encoding] 将文件读取为文本 re 阅读全文

posted @ 2020-06-01 09:21 博客sl 阅读(937) 评论(0) 推荐(0)

2020年5月26日

摘要: 一个画布上画多个duo边形,点击画布上的一点,判断哪个多边形被选中。 该方法在如果点击的点再多边形的边缘位置,判断不准确。 <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Con 阅读全文

posted @ 2020-05-26 14:19 博客sl 阅读(261) 评论(0) 推荐(0)

2020年5月21日

摘要: 第一个问题: pre-commit hook failed (add --no-verify to bypass)的问题 问题原因: pre-commit钩子惹的祸 当你在终端输入git commit -m"XXX",提交代码的时候, pre-commit(客户端)钩子,它会在Git键入提交信息前运 阅读全文

posted @ 2020-05-21 15:14 博客sl 阅读(4110) 评论(0) 推荐(0)

2020年5月12日

摘要: tooltip : { show: true,//默认值true,可选为:true(显示) | false(隐藏) zlevel: 1,//默认值1,一级层叠控制。每一个不同的zlevel将产生一个独立的canvas,相同zlevel的组件或图标将在同一个canvas上渲染。zlevel越高越靠顶层 阅读全文

posted @ 2020-05-12 14:24 博客sl 阅读(365) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 8 ··· 10 下一页