11 2022 档案

摘要:本地电脑无法ping通华为云弹性云服务器/无法连接docker容器 解决方法: 配置安全组: 阅读全文
posted @ 2022-11-29 18:24 无相蛋 阅读(33) 评论(0) 推荐(0) 编辑
摘要:基础类型 布尔值 最基本的数据类型就是简单的true/false值,在JavaScript和TypeScript里叫做boolean(其它语言中也一样)。 let isDone: boolean = false; 数字 和JavaScript一样,TypeScript里的所有数字都是浮点数。 这些浮 阅读全文
posted @ 2022-11-28 21:35 无相蛋 阅读(27) 评论(0) 推荐(0) 编辑
摘要:问题: 解决方法: // .allowedOrigins("*") .allowedOriginPatterns("*") 阅读全文
posted @ 2022-11-26 13:55 无相蛋 阅读(14) 评论(0) 推荐(0) 编辑
摘要:MySQL连接错误 javax.net.ssl.SSLException: Received fatal alert: protocol_version 解决方法: Maven修改成: <dependency> <groupId>com.mysql</groupId> <artifactId>mys 阅读全文
posted @ 2022-11-22 20:25 无相蛋 阅读(34) 评论(0) 推荐(0) 编辑
摘要:无法找到this.axios 解决方法: 点击查看代码 import axios from 'axios' import VueAxios from 'vue-axios' Vue.use(VueAxios, axios)`<details> 然后就可以在钩子函数里使用: 点击查看代码 create 阅读全文
posted @ 2022-11-18 20:07 无相蛋 阅读(16) 评论(0) 推荐(0) 编辑
摘要:下载@vue/cli报错: 解决方法: 配置淘宝镜像: yarn报错: 解决方法: 将yarn改为npm 下载element-ui失败: 解决方法: 删除已安装的cnpm版本: npm uninstall -g cnpm 安装低版本 cnpm:npm install cnpm@7.1.0 -g -- 阅读全文
posted @ 2022-11-17 15:44 无相蛋 阅读(11) 评论(0) 推荐(0) 编辑
摘要:出现错误: error pulling image configuration: Get "https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/11/11363dc41eae606d 阅读全文
posted @ 2022-11-16 13:49 无相蛋 阅读(486) 评论(0) 推荐(0) 编辑
摘要:Config的配置 @Bean public JobDetail getJobDetail(){ //new job新的作业 return JobBuilder.newJob(MyJob.class).withIdentity("myJob").storeDurably().build(); } / 阅读全文
posted @ 2022-11-14 20:48 无相蛋 阅读(15) 评论(0) 推荐(0) 编辑
摘要:根据ip得到地址 String url="https://api.map.baidu.com/location/ip?ak={}&ip=&coor=bd09ll"; url = StrUtil.format(url,ak); String body = HttpRequest.get(url).ex 阅读全文
posted @ 2022-11-12 16:56 无相蛋 阅读(30) 评论(0) 推荐(0) 编辑
摘要:无法打开vue文件: 解决方式: 以管理员身份运行PowerShell,set-ExecutionPolicy RemoteSigned //设置为打开 缺少文件报错: 解决方法: 去github下载缺少的文件 https://github.com/sass/node-sass/releases 将 阅读全文
posted @ 2022-11-08 21:06 无相蛋 阅读(19) 评论(0) 推荐(0) 编辑
摘要:生成验证码: ShearCaptcha shearCaptcha = CaptchaUtil.createShearCaptcha(200, 100, 4, 4); 获取验证码内容: String code = shearCaptcha.getCode(); 将验证码缓存到redis中: redis 阅读全文
posted @ 2022-11-05 21:59 无相蛋 阅读(38) 评论(0) 推荐(0) 编辑
摘要://从redis中获取疾病列表 Object redisdiseases = redisTemplate.opsForValue().get("diseases"); if(redisdiseases!=null){ logger.info("调用redis中疾病的列表"); return R.su 阅读全文
posted @ 2022-11-04 23:04 无相蛋 阅读(30) 评论(0) 推荐(0) 编辑
摘要:正整数: if(!(/(^[1-9]\d*$)/.test(effective_time))){ alert("有效时间只能为正整数"); } 文件格式: if (!/\.(jpg|jpeg|png|JPG|PNG)$/.test(img.name)) { alert("文件格式错误"); $(th 阅读全文
posted @ 2022-11-03 23:19 无相蛋 阅读(16) 评论(0) 推荐(0) 编辑
摘要:通过网页链接获取id var id=window.location.href.split("=")[1]; 阅读全文
posted @ 2022-11-01 20:24 无相蛋 阅读(28) 评论(0) 推荐(0) 编辑

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