上一页 1 2 3 4 5 6 7 8 9 ··· 18 下一页
摘要: function drawProgressNum(num, total) { var leftWidth = (num / total) * 100; //将百分比保留两位小数 var percentNum = (Math.round(leftWidth*100)/100).toFixed(2) + 阅读全文
posted @ 2017-10-12 13:46 Legolas_4 阅读(696) 评论(0) 推荐(0)
摘要: 方法3:最简单的方法 1. float a = 123.2334f; float b = (float)(Math.round(a*100))/100;(这里的100就是2位小数点,如果要其它位,如4位,这里两个100改成10000) 阅读全文
posted @ 2017-10-12 10:25 Legolas_4 阅读(3290) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/lotusyangjun/article/details/46377253 阅读全文
posted @ 2017-10-11 17:49 Legolas_4 阅读(394) 评论(0) 推荐(0)
摘要: 错误的: 阅读全文
posted @ 2017-10-11 11:11 Legolas_4 阅读(3073) 评论(0) 推荐(0)
摘要: http://blog.csdn.net/zzq900503/article/details/69942930 为什么input checkbox有 checked='checked'还是没选中如果用jQuery1.6+来写的话:建议使用$(element).prop('checked', true 阅读全文
posted @ 2017-10-10 09:15 Legolas_4 阅读(757) 评论(0) 推荐(0)
摘要: success: function (data) { if (data == null) { $("input[name='menu']").attr("checked", false); } else { role_id = JSON.stringify(data.role_id); $("inp 阅读全文
posted @ 2017-10-10 09:13 Legolas_4 阅读(1017) 评论(0) 推荐(0)
摘要: http://www.yilingsj.com/jquery/2017-05-12/517.html https://segmentfault.com/q/1010000007932779 最后一段 加上px 阅读全文
posted @ 2017-09-29 16:40 Legolas_4 阅读(98) 评论(0) 推荐(0)
摘要: 发现很多不相关的注入错误时,很有可能是xxxMapper.xml文件 的namespace重名,或者id重名。 在shipingservice报错,可能是xml问题。 在web报错,可能是注入问题。 阅读全文
posted @ 2017-09-29 09:04 Legolas_4 阅读(125) 评论(0) 推荐(0)
摘要: /** * * ━━━━━━神兽出没━━━━━━ * ┏┓ ┏┓ * ┏┛┻━━━┛┻┓ * ┃ ┃ * ┃ ━ ┃ * ┃ ┳┛ ┗┳ ┃ * ┃ ┃ * ┃ ┻ ┃ * ┃ ┃ * ┗━┓ ┏━┛Code is far away from bug wi... 阅读全文
posted @ 2017-09-27 13:52 Legolas_4 阅读(327) 评论(0) 推荐(0)
摘要: DefaultFilterChainManager会默认添加org.apache.shiro.web.filter.mgt.DefaultFilter中声明的拦截器: Java代码 public enum DefaultFilter { anon(AnonymousFilter.class), au 阅读全文
posted @ 2017-09-27 08:49 Legolas_4 阅读(346) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 18 下一页