会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
DarGi
Work is not man's punishment. It is his reward and his strength and his pleasure.
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
5
6
7
8
9
10
下一页
2020年1月6日
Component series.line3D not exists.Load it first.
摘要: 今天想画一个3D散点图总是报这个错。echart-gl.min.js 也引入进来了,不知道是哪里的问题 。后来把自己的echart.min.js 文件放到下载的gl 官方示例中报了版本过旧的错。。需要用4.1.0以上的版本。重新下了一个echart.min.js 完美解决。
阅读全文
posted @ 2020-01-06 16:41 DarGi
阅读(2847)
评论(4)
推荐(0)
2020年1月2日
文件上传下载(三)下载文件
摘要: 下载: //下载文件 public void downloadFile(HttpServletResponse response, String url)throws IOException { response.reset(); response.setContentType("applicati
阅读全文
posted @ 2020-01-02 12:57 DarGi
阅读(195)
评论(0)
推荐(0)
2019年12月31日
文件上传下载(二)上传文件
摘要: 方法一: java: @RequestMapping("/testFile") public String fileUpload(MultipartFile multipartFile) { String path= "d:\\upload\\test\\"; // 原名 String[] type
阅读全文
posted @ 2019-12-31 09:01 DarGi
阅读(252)
评论(0)
推荐(0)
文件上传下载(三) 读取Excel
摘要: 应用: public List<Demo> importExcel(@RequestParam(value = "file",required = false)MultipartFile file){ List<Demo> list = new ArrayList<Demo>(); InputStr
阅读全文
posted @ 2019-12-31 08:44 DarGi
阅读(193)
评论(0)
推荐(0)
2019年12月27日
layui 学习笔记(三) 用ltable 动态创建一条<th>
摘要: 添加行和删除行 -- 用layui 的可编辑table 写的 该功能只在前台做操作 不走后台 最主要是为了获取数组做后续操作。 html: <table class="layui-hide" id="test" lay-filter="test"></table> <script type="tex
阅读全文
posted @ 2019-12-27 16:12 DarGi
阅读(617)
评论(0)
推荐(0)
2019年12月26日
前台中文乱码
摘要: 1. 父页面给子页面传值: 参考: https://www.w3school.com.cn/jsref/jsref_obj_global.asp 1) 方法一 (对url编码推荐,与方法三的区别在于编码范围不同。) -> encodeURI('中文') -> decodeURI('接到的字符串')
阅读全文
posted @ 2019-12-26 08:59 DarGi
阅读(407)
评论(0)
推荐(1)
2019年12月25日
layui 学习笔记(二) 日期选择器&图片放大
摘要: 1.时间选择器 https://www.layui.com/laydate/ https://www.layui.com/v1/demo/laydate.html ->起始日期不能大于截止日期,截止日期不能小于起始日期 html: <div class="layui-inline"> <input
阅读全文
posted @ 2019-12-25 09:47 DarGi
阅读(456)
评论(0)
推荐(1)
2019年12月20日
layui 学习笔记(一)
摘要: 相关网站: layui 官网:https://www.layui.com/ layui 弹窗:http://layer.layui.com/ layui select :xm-select参考(推荐): https://maplemei.gitee.io/xm-select/#/basic/prop
阅读全文
posted @ 2019-12-20 11:28 DarGi
阅读(1428)
评论(0)
推荐(1)
MyBatis 增删改查
摘要: 增 返回id // 增 返回id <insert id="addPic" useGeneratedKeys="true" keyProperty="id"> INSERT INTO table (photo_address,photo_description) VALUES (#{paramCond
阅读全文
posted @ 2019-12-20 10:45 DarGi
阅读(274)
评论(0)
推荐(0)
文件上传下载(一)下载导入模板
摘要: public void downloadExcel(HttpServletRequest request,HttpServletResponse response){ response.reset(); response.setContentType("application/x-msdownloa
阅读全文
posted @ 2019-12-20 09:02 DarGi
阅读(712)
评论(0)
推荐(0)
上一页
1
···
5
6
7
8
9
10
下一页
公告