随笔 - 7  文章 - 0  评论 - 0  阅读 - 8311
  2022年11月16日
摘要: 1.后端Datatable转EXCEL代码如下: public byte[] DataTableToExcel(DataTable data) { ISheet sheet = null; IWorkbook workbook = new XSSFWorkbook(); try { if (work 阅读全文
posted @ 2022-11-16 15:17 Macaroni 阅读(1254) 评论(0) 推荐(0) 编辑
  2022年8月9日
摘要: function batchDeleteClick() { var table = layui.table; var checkStatus = table.checkStatus($("table")[0].id); console.log(checkStatus); var ids = new 阅读全文
posted @ 2022-08-09 14:25 Macaroni 阅读(1725) 评论(0) 推荐(0) 编辑
  2022年8月1日
摘要: IIS上绑定证书时发现提示中间证书缺失,实际接口是可正常访问的。 但是通过小程序真机调试或上传的版本测试时会出现接口访问报错 request:fail -2:net::ERR_FAILED 解决办法: 打开https://myssl.com/chain_download.html 通过域名生成RSA 阅读全文
posted @ 2022-08-01 10:22 Macaroni 阅读(1321) 评论(0) 推荐(1) 编辑
  2022年7月15日
摘要: 1.自动消失提示窗 layer.msg('xxx', { icon: 1, time: 2000 //2秒关闭(如果不配置,默认是3秒) }, function () { ... }); 2.普通提示框 layer.alert('已关闭件', { icon: 5, title: "提示" });// 阅读全文
posted @ 2022-07-15 08:52 Macaroni 阅读(1812) 评论(0) 推荐(0) 编辑
  2022年6月20日
摘要: uni-app在多层箭头函数中使用this,会出现赋值失效等问题 输出this会发现是undifined 当我们使用箭头函数的时候,箭头函数会默认帮我们绑定外层 this 的值 出现多层,就无法绑定最外层的this 所以我们需要在最外层定义 const _this = this; 这样就可以对最外层 阅读全文
posted @ 2022-06-20 10:39 Macaroni 阅读(667) 评论(0) 推荐(0) 编辑
  2022年6月15日
摘要: 使用XMLHttpRequest写法,HBuilderX上正常编译,到微信开发者平台编译就会报下面的报错 使用axios时,在微信开发者平台编译报的错更是难以理解 解决办法:使用wx.request完美解决 wx.request({ url: 'url', method:'GET', success 阅读全文
posted @ 2022-06-15 09:44 Macaroni 阅读(1141) 评论(0) 推荐(0) 编辑
  2022年4月19日
摘要: 在远程桌面按Ctrl+Alt+End,与Ctrl+Alt+Del效果一致。就可以修改密码了。 阅读全文
posted @ 2022-04-19 15:48 Macaroni 阅读(392) 评论(0) 推荐(1) 编辑
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示