摘要: 工具类 设置响应的方法 Controller ServiceImpl JS 使用map数据形式应该为:Map<String, Object> map = new LinkedHashMap<>(); 阅读全文
posted @ 2019-09-17 12:24 ExpectoPatronum—S 阅读(200) 评论(0) 推荐(1) 编辑
摘要: data =[{ "name": "省", "children":[ { "name": "市区", "children": [ { "name":"县", "children":[] } ] } ] }] //递归删除县层为空的children数组 function exec(array) { array.forEach(item => { if (item.children.length 0) 阅读全文
posted @ 2019-09-16 21:48 ExpectoPatronum—S 阅读(623) 评论(0) 推荐(0) 编辑
摘要: select LEFT(context,LENGTH(context)-1) context from table; (效果: 1,2,3, 查询出: 1,2,3 ) 阅读全文
posted @ 2019-07-30 16:14 ExpectoPatronum—S 阅读(1231) 评论(0) 推荐(0) 编辑
摘要: 以上是 单个文件 接收的方法 如果用到一个Input 上传多个文件 后台用 阅读全文
posted @ 2019-07-25 14:58 ExpectoPatronum—S 阅读(9118) 评论(2) 推荐(1) 编辑
摘要: //附件展示 $(function () { $("#file").change(function () { var objUrl = getObjectURL(this.files[0]); $("#audio").attr("src", objUrl); ... 阅读全文
posted @ 2019-07-16 17:34 ExpectoPatronum—S 阅读(1654) 评论(0) 推荐(0) 编辑
摘要: var file=$("#otherfiles");//input file file.change(function (e) { //获取目标文件 var file = e.target.files || e.dataTransfer.files; //如果目标文件存在 if (file) { ... 阅读全文
posted @ 2019-07-16 17:26 ExpectoPatronum—S 阅读(340) 评论(0) 推荐(0) 编辑
摘要: package test; import java.util.ArrayList; import java.util.List; public class Tesdssss { private static List dataList = new ArrayList(); public static void main(String[] arg... 阅读全文
posted @ 2019-07-13 11:37 ExpectoPatronum—S 阅读(6865) 评论(4) 推荐(0) 编辑
摘要: * 多选 var diclistsheshi = ${diclistsheshi}; //后台用model存的List> if(diclistsheshi != "" && diclistsheshi != null ){ ... 阅读全文
posted @ 2019-07-12 11:53 ExpectoPatronum—S 阅读(3452) 评论(1) 推荐(0) 编辑
摘要: <input type="text" onkeyup="this.value=this.value.replace(/[^\d\,]/g,'')"> 阅读全文
posted @ 2019-07-09 10:40 ExpectoPatronum—S 阅读(1621) 评论(0) 推荐(0) 编辑
摘要: 1. 开机打开 CMD 命令 2. 输入 netsh winsock reset,最后提示成功后,重启电脑。 !注意!这个命令是重置Winsock 目录,此命令会让原本设置的静态IP重置,需要重新配置。如果是动态IP的就不必担心了。 如果每次开机 有会重复有这样的问题出现 1、按下“Win+R”组合 阅读全文
posted @ 2019-07-07 13:10 ExpectoPatronum—S 阅读(1673) 评论(0) 推荐(0) 编辑