上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 76 下一页
摘要: JS中用encodeURIComponent编码两次 var p = {}; p.Map = [{f : 'customNo', t : '客户编号'},{f : 'customName', t : '客户名称'}]; var param = JSON.stringify(p); var url = 阅读全文
posted @ 2021-04-08 15:14 岁月淡忘了谁 阅读(1343) 评论(0) 推荐(0)
摘要: 获取图像 echarts是通过canvas进行图表的绘制的,所以可以通过canvas来获取图片的base64编码,然后将base64编码传到后台进行处理。 1.如何获取报表图片的base64编码: $('canvas').toDataURL(); //打印出base64编码。 2.如何将编码充送给后 阅读全文
posted @ 2021-04-08 14:57 岁月淡忘了谁 阅读(1065) 评论(0) 推荐(0)
摘要: 报错信息如下: [10036] 30 Dec 10:23:49.616 # Creating Server TCP listening socket 127.0.0.1:637 9: bind: No error [8660] 30 Dec 10:23:57.132 # Creating Serve 阅读全文
posted @ 2021-04-08 14:46 岁月淡忘了谁 阅读(263) 评论(0) 推荐(0)
摘要: 最简单的做法是: // 假如这是前台传来的Date时间 Date dt; // 1天的毫秒数 long oneDayTime = 1000*3600*24; // 这个now就是减1天的时间了 Date nowTime = new Date(dt.getTime() - oneDayTime); 原 阅读全文
posted @ 2021-04-08 14:43 岁月淡忘了谁 阅读(800) 评论(0) 推荐(0)
摘要: <template> <div> <div ref="wordcloud" class="wordcloud"> </div> <button @click="download">下载</button> </div> </template> 下载方法如下: download(){ let mycan 阅读全文
posted @ 2021-04-08 14:40 岁月淡忘了谁 阅读(1031) 评论(0) 推荐(0)
摘要: poi创建word表格合并单元格代码如下: 跨列合并: /** * @Description: 跨列合并 */ public void mergeCellsHorizontal(XWPFTable table, int row, int fromCell, int toCell) { for (in 阅读全文
posted @ 2021-04-08 14:33 岁月淡忘了谁 阅读(1874) 评论(0) 推荐(0)
摘要: 我使用的是Springboot框架开发的。首先需要在pom.xml文件中引入以下maven包: <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>3.10-FINAL</versi 阅读全文
posted @ 2021-04-08 14:20 岁月淡忘了谁 阅读(1685) 评论(0) 推荐(0)
摘要: 首先需要准备Nodejs环境,Nodejs中自带npm包管理工具,下载地址:http://nodejs.cn/download/ 1、设置npm包安装路径 npm config set prefix="D:\environment\nodejs\node_global" npm config set 阅读全文
posted @ 2021-04-08 14:11 岁月淡忘了谁 阅读(2544) 评论(0) 推荐(1)
摘要: 1、强制清缓存cache npm cache clean --force yarn cache clean 2、删除项目中的node_modules文件夹和两个lock文件 3、重新执行yarn install和npm install 阅读全文
posted @ 2021-03-19 13:45 岁月淡忘了谁 阅读(61) 评论(0) 推荐(0)
摘要: 项目中用的是jeecgboot框架,public文件夹相当于static文件夹,该文件夹下的文件打包后不变,故在该文件下创建config.js文件(自定义名称) 在config.js中写入需要动态改变的参数,写成json格式方便调用 在index.html页面中引入config.js文件 在需要用到 阅读全文
posted @ 2021-03-18 11:22 岁月淡忘了谁 阅读(694) 评论(0) 推荐(0)
上一页 1 ··· 11 12 13 14 15 16 17 18 19 ··· 76 下一页