03 2022 档案

摘要:总结几点,超级重要: 不可使用关键字pro和test ,因此才会使用prod和tes下面解说的截图使用的是test关键字,随笔写的比较早,现在需要改正,截图就不改了,知道就行使用test关键字的 bug 发现场景:使用test配置文件打包,会导致,打包的文件在浏览器使用时,报错,提示 动态路由 无法 阅读全文
posted @ 2022-03-27 21:47 岑惜 阅读(1094) 评论(0) 推荐(0) 编辑
摘要:<dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <version>5.7.22</version> </dependency> post 方式的简单使用 Map<String, Object> 阅读全文
posted @ 2022-03-15 21:08 岑惜 阅读(53) 评论(0) 推荐(0) 编辑
摘要:在脚本最顶上定义该方法 String.prototype.replaceAll = function(s1,s2){ return this.replace(new RegExp(s1,"gm"),s2); } 阅读全文
posted @ 2022-03-11 12:33 岑惜 阅读(808) 评论(0) 推荐(0) 编辑
摘要:$(document).scrollTop(0); 阅读全文
posted @ 2022-03-06 09:35 岑惜 阅读(160) 评论(0) 推荐(0) 编辑
摘要:var autoTextarea = function (elem, extra, maxHeight) { extra = extra || 20; var isFirefox = !!document.getBoxObjectFor || 'mozInnerScreenX' in window, 阅读全文
posted @ 2022-03-06 09:34 岑惜 阅读(92) 评论(0) 推荐(0) 编辑
摘要:public static void main(String[] args) { // 1!+2!+...+20! long sum = 0; for (int i = 1; i <= 20; i++) { int cursum = 1; for (int j = 1; j <= i; j++) { 阅读全文
posted @ 2022-03-04 08:53 岑惜 阅读(166) 评论(0) 推荐(0) 编辑
摘要:public static void main(String[] args) { //两种声明写法 // int a[][][] = {{{1, 2}, {3, 4, 5}}, {{6, 7}, {8, 9, 10, 11}}}; int[][][] a = {{{1, 2}, {3, 4, 5}} 阅读全文
posted @ 2022-03-04 08:52 岑惜 阅读(332) 评论(0) 推荐(0) 编辑
摘要:public static void main(String[] args ){ int i = 8; String s2 = Integer.toString(i,2); System.out.println("2进制为:"+s2); // -- 1000 int sum = 0; for (in 阅读全文
posted @ 2022-03-04 08:51 岑惜 阅读(27) 评论(0) 推荐(0) 编辑
摘要:double y = Logarithm.log(【x】, 【底数】); 如double y = Logarithm.log(100, 10); 或者 y = Logarithm.log(100, 2);如果底数为e则使用 y = Math.log(【x】); 阅读全文
posted @ 2022-03-03 13:13 岑惜 阅读(593) 评论(0) 推荐(0) 编辑
摘要:$._data($('.mybtncla').get(0)).events原始公式如下 $._data(元素对象).events .mybtncla 是元素上的class样式 handler 就是事件方法 可以根据获取对象参数的方式获取具体内容 如 $._data($('.mybtncla').ge 阅读全文
posted @ 2022-03-01 16:41 岑惜 阅读(263) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示