06 2018 档案

摘要://引用公共页面 //引用公共js 阅读全文
posted @ 2018-06-29 14:12 748573200000 阅读(1001) 评论(0) 推荐(0) 编辑
摘要:/** * form表单提交本页面打开 * @param url * @param params */ function postCurrent(url,params){ var form = $(""); var input; form.attr({"action":url}); $.each(params,function (key,value) { ... 阅读全文
posted @ 2018-06-29 09:59 748573200000 阅读(6125) 评论(0) 推荐(0) 编辑
摘要:直接在页面引用vee-validate 源文件下载地址:http://www.bootcdn.cn/vee-validate/ 官方api https://baianat.github.io/vee-validate/guide/rules.html#is-not 注:vee-validate支持对 阅读全文
posted @ 2018-06-26 18:40 748573200000 阅读(2120) 评论(0) 推荐(0) 编辑
摘要:HTML部分 <input type="button" id="code_btn" value="获取验证码"> JS部分 //获取验证码 $(function() { $("#code_btn").on("tap", function() { if(!rex.test($("#tel").val( 阅读全文
posted @ 2018-06-26 16:44 748573200000 阅读(950) 评论(0) 推荐(0) 编辑
摘要:pageHelper在对mybatis一对多分页时造成查询总页数结果不对的情况。 可以做出如下修改: service层: xml配置文件 实体类 阅读全文
posted @ 2018-06-25 18:48 748573200000 阅读(3860) 评论(1) 推荐(0) 编辑
摘要:文章目录 主要问题:如何保证倒计时以服务器时间为准? 方案1:每次倒计时去服务端请求时间 方案2:从服务端返回以服务器时间为基准的倒计时时间戳 方案3:入口js请求接口获取本地时间与服务器时间的差值 总结 关于倒计时的一些探讨 最近项目中有应用到倒计时,其中出现了一些问题和问题的解决方案,觉得蛮有分 阅读全文
posted @ 2018-06-25 17:24 748573200000 阅读(518) 评论(0) 推荐(0) 编辑
摘要:public static void checkDesignerEdit(Object dtos) throws Exception { Class dtosClass = dtos.getClass(); //获得类的声明的字段 Field createTime= dtosClass.getDeclaredField("createTime");... 阅读全文
posted @ 2018-06-25 09:51 748573200000 阅读(4733) 评论(0) 推荐(0) 编辑
摘要:docker启动失败解决 could not change group /var/run/docker.sock to docker: gr... not found 如果出现:Job for docker.service failed because the control process exi 阅读全文
posted @ 2018-06-19 17:21 748573200000 阅读(20139) 评论(3) 推荐(2) 编辑
摘要:img[src=""],img:not([src]){opacity:0;} 阅读全文
posted @ 2018-06-08 16:11 748573200000 阅读(268) 评论(0) 推荐(0) 编辑
摘要:command绑定变量对象方法 使用v-bind : command绑定 简写 :command 阅读全文
posted @ 2018-06-08 14:51 748573200000 阅读(1657) 评论(0) 推荐(0) 编辑
摘要:/** * 2018-05-01T00:00:00.000+08:00转2018-05-01 00:00:00 * @param oldDateStr * @return * @throws ParseException */ public static String dealDateFormat(String oldDateStr) t... 阅读全文
posted @ 2018-06-05 14:14 748573200000 阅读(1077) 评论(0) 推荐(0) 编辑

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