08 2020 档案

摘要://用于登录过期之后回到登录页 $.ajaxSetup({ complete:function(XMLHttpRequest,textStatus){ if(textStatus=="parsererror"){ window.location.href = '/'; } else if(textS 阅读全文
posted @ 2020-08-14 14:33 执笔coding 阅读(512) 评论(0) 推荐(0)
摘要:一般不做特别设置登录失效会在小窗口弹出登录页面,这样影响整体视觉效果,所以在登录添加判断当前是否是在父窗口 if (top.location.href.indexOf("login") 1) { top.location.href = '/'; } 阅读全文
posted @ 2020-08-14 14:19 执笔coding 阅读(1608) 评论(0) 推荐(0)
摘要:{{# layui.each(d.roles, function(index, item){ }} <span class="layui-badge layui-bg-blue">{{ item.roleName}}</span> {{# }); }} 阅读全文
posted @ 2020-08-06 11:21 执笔coding 阅读(8427) 评论(0) 推荐(1)
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>距离计算</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link re 阅读全文
posted @ 2020-08-06 11:19 执笔coding 阅读(1603) 评论(0) 推荐(0)
摘要:<foreach collection="packages" item="p" separator=";"> update package set package_name = #{p.packageName}, package_content = #{p.packageContent} where 阅读全文
posted @ 2020-08-03 13:51 执笔coding 阅读(247) 评论(0) 推荐(0)