09 2020 档案

摘要:1.在使用echart图表是,初始化页面报 Uncaught TypeError: Cannot read property 'getAttribute' of null 原因: html 元素还没加载或者代码还没有执行完就先执行了 echarts 的渲染,也就是代码执行前后顺序的问题。 解决办法: 阅读全文
posted @ 2020-09-25 17:03 登风360 阅读(437) 评论(0) 推荐(0)
摘要:@RequestMapping("/tttt") public void testRed(HttpServletResponse response) throws Exception{ System.out.println("tttt"); response.sendRedirect("https: 阅读全文
posted @ 2020-09-25 15:19 登风360 阅读(495) 评论(0) 推荐(0)
摘要:前端传递时间类型的字符串,后台无法解析,报错 Failed to convert from type [java.lang.String] to type [java.util.Date]在接收时间的controller类加上以下方法即可包: import java.util.Date; @Init 阅读全文
posted @ 2020-09-03 22:38 登风360 阅读(605) 评论(0) 推荐(0)
摘要://方法1:@RequestParam //url:/test1?id=123 @RequestMapping(value = "/test1",method = RequestMethod.GET) public String test1(@RequestParam String id, Mode 阅读全文
posted @ 2020-09-01 10:46 登风360 阅读(278) 评论(0) 推荐(0)