摘要: 后台 File img = new File(imgPath.toString()); FileInputStream inputStream = new FileInputStream(img); byte[] bytes = new byte[inputStream.available()]; 阅读全文
posted @ 2021-10-20 18:55 GraceYang 阅读(536) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/heqiuyong/p/10463334.html 转载 阅读全文
posted @ 2021-09-27 10:07 GraceYang 阅读(27) 评论(0) 推荐(0)
摘要: let arr1 = [{ id: 1 }, { id: 2 }, { id: 3 }, { id: 4 }, { id: 5 }]; let arr2 = [{ id: 1 }, { id: 2 }, { id: 3 }]; const all = [arr1, arr2].reduce((all 阅读全文
posted @ 2021-06-22 15:50 GraceYang 阅读(344) 评论(0) 推荐(0)
摘要: 直接上代码 public static void main(String[] args) { String condition1 = "1"; String condition2 = "2"; String condition3 = "4"; List<Map<String, String>> re 阅读全文
posted @ 2021-02-07 11:11 GraceYang 阅读(338) 评论(0) 推荐(0)
摘要: package com.yc.dataProcess.baseUtil; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import static java.util.stream.Colle 阅读全文
posted @ 2021-02-05 09:50 GraceYang 阅读(450) 评论(0) 推荐(0)
摘要: 1. 封装dialog弹窗 在components目录下新建 *.vue文件(自行添加业务目录) <template> <div> <el-dialog :modal="true" :modal-append-to-body="true" :title="tittle" :visible.sync= 阅读全文
posted @ 2021-02-02 16:02 GraceYang 阅读(218) 评论(0) 推荐(0)
摘要: SpringBoot配置knife4j版的Swagger打开doc.html页面404 直接搬运 https://www.cnblogs.com/huanshilang/p/13725388.html 阅读全文
posted @ 2021-01-13 10:46 GraceYang 阅读(3323) 评论(0) 推荐(0)
摘要: springboot thymeleaf访问不到静态资源 spring: mvc: # “spring.mvc.static-path-pattern”用于阐述HTTP请求地址,请求非controller地址,如js,css,img等访问路径需要加上static, # 可以不配置也能访问图片 # 而 阅读全文
posted @ 2021-01-12 17:37 GraceYang 阅读(1630) 评论(0) 推荐(0)
摘要: win10 禁用Chrome浏览器跟随系统缩放比例 web样式会因为win10高分屏缩放比例问题导致样式错乱,所以记录一下浏览器禁用系统dpi方法 360、百分浏览器自带 不跟随系统缩放比例设置选项 Chrome、和edge设置方法如下 ①.新建浏览器快捷方式,打开属性 ②.目标一栏 最后添加 -- 阅读全文
posted @ 2021-01-07 14:45 GraceYang 阅读(3123) 评论(0) 推荐(0)
摘要: element-UI 弹出组件的遮罩层在弹出层dialog模态框的上面解决方案 造成的原因: 因为dialog的组件外层div设置了 position:absolute; 属性所以导致遮罩层会在最上面。 解决方法: 1.在属性内加上这段代码 :append-to-body= 'true' 2 ,:m 阅读全文
posted @ 2021-01-04 16:58 GraceYang 阅读(1539) 评论(0) 推荐(0)