摘要: table.on('checkbox(table-id)', function(obj){ console.log(obj.checked); //当前是否选中状态 console.log(obj.data); //选中行的相关数据 console.log(obj.type); //如果触发的是全选 阅读全文
posted @ 2020-04-28 16:05 holyDan 阅读(6779) 评论(0) 推荐(1) 编辑
摘要: Navicat连接MySQL Server8.0版本时出现Client does not support authentication protocol requested by server;解决如下: 解决 参考:https://www.cnblogs.com/zichuan/p/9203129 阅读全文
posted @ 2020-04-23 16:14 holyDan 阅读(189) 评论(0) 推荐(0) 编辑
摘要: <div style=" overflow-y:auto; overflow-x:auto; width:400px; height:400px;”></div> 记住宽和高一定要设置噢,否则不成的 这样比较好的是,在宽和高不超出时,只是一条线 直接为div指定overflow属性为auto即可,但 阅读全文
posted @ 2020-04-10 11:18 holyDan 阅读(2019) 评论(0) 推荐(0) 编辑
摘要: 1。如果格林威治时间时间是date类型。(这种格式最简单) SimpleDateFormat df = new SimpleDateFormat("yyyyMMdd"); Date d=new Date(); System.out.println("格林威治时间:"+d); String s=df. 阅读全文
posted @ 2020-04-09 14:40 holyDan 阅读(2376) 评论(0) 推荐(0) 编辑
摘要: excel方法:public class ExcelUtil { public void exportExcel(XSSFWorkbook workbook, int sheetNum, String sheetTitle, String[] headers, List<List<String>> 阅读全文
posted @ 2020-04-09 14:35 holyDan 阅读(2500) 评论(0) 推荐(0) 编辑