随笔分类 -  bugs

整理学习路上遇到的所有bug
摘要:bug:使用的逆向工程是gitee上的人人开源网renren-generator 框架 ,前端传入参数: 但是数据库中返回的数据是所有数据,并没有分页 原因:没有写MybatisPlus的分页插件 import com.baomidou.mybatisplus.extension.plugins.P 阅读全文
posted @ 2020-11-19 16:45 keepsummer 阅读(825) 评论(0) 推荐(0)
摘要:该请求是post 请求,用的是JSON格式,但是一直报400,可以注意到的是post请求的地址栏上带参数, 数据整体格式有问题, 代码如下: updateBrandStatus(data) { console.log("最新信息", data); let { brandId, showStatus 阅读全文
posted @ 2020-11-18 11:27 keepsummer 阅读(8476) 评论(0) 推荐(0)
摘要:问题描述: vue项目中点击修改按钮,不能显示要修改的分类名字,第二次点击修改会显示上一个点击过修改的分类名称 第一次点击"玩具乐器" ,弹框显示空白 再次点击“彩票、旅行、充值。。”,会显示“玩具乐器”。 问题修改: 在data中添加该属性name即可 data() { return { meus 阅读全文
posted @ 2020-11-10 16:10 keepsummer 阅读(457) 评论(0) 推荐(0)
摘要:问题的原因:是因为使用了两次跨域, 网关module使用了配置类配置跨域,另一个module使用了类+controller的方式配置跨域 解决: 1、检查是否配置nginx进行跨域 解决办法:https://www.cnblogs.com/zsg88/articles/11576324.html 2 阅读全文
posted @ 2020-11-05 13:40 keepsummer 阅读(3113) 评论(0) 推荐(0)
摘要:SpringCloud 远程连接nacos,一直提示连接本地8848,但是http://ip(服务器ip):8848/nacos页面可以正常显示注册的服务 application.properties spring.cloud.nacos.discovery.server-addr=xxx.xxx. 阅读全文
posted @ 2020-11-03 15:55 keepsummer 阅读(4377) 评论(0) 推荐(0)
摘要:Spring cloud 报错: 十一月 03, 2020 2:47:15 下午 org.junit.platform.launcher.core.DefaultLauncher handleThrowable 警告: TestEngine with ID 'junit-vintage' faile 阅读全文
posted @ 2020-11-03 14:58 keepsummer 阅读(6023) 评论(0) 推荐(0)
摘要:出现问题原因: @TableId(value = "id", type = IdType.ID_WORKER) private String id; 实体类中加入了自动生成ID的注解,类型为String类型,导致报错 解决: 把String类型换成Long类型即可 阅读全文
posted @ 2020-09-18 16:05 keepsummer 阅读(11111) 评论(0) 推荐(1)
摘要:错误原因是数据库存的和实体类写的不一致: 应该把30行转换成deptid ,就能正常取值了 阅读全文
posted @ 2020-08-24 17:59 keepsummer 阅读(15625) 评论(0) 推荐(0)
摘要:Access to XMLHttpRequest at 'http://localhost:9003。。。。/deletesubject1173935603251679233' from origin 'http://localhost:9530' has been blocked by CORS 阅读全文
posted @ 2019-09-18 20:18 keepsummer 阅读(1080) 评论(0) 推荐(0)
摘要:nginx 配置文件中多了个逗号 阅读全文
posted @ 2019-09-17 16:42 keepsummer 阅读(6524) 评论(0) 推荐(0)
摘要:org.thymeleaf.exceptions.TemplateProcessingException: Could not parse as expression: "/login" (template: "include/include" - line 32, col 42) at org.t 阅读全文
posted @ 2019-08-12 19:39 keepsummer 阅读(4187) 评论(0) 推荐(0)
摘要:mac系统和windows 系统下写文件路径,斜杆是反的。 以下是Windows系统下的STS,路径书写方式 为了找这个问题,基本花了两个小时😭, 为了避免以后再犯同样的问题。记录下来,与君共勉 阅读全文
posted @ 2019-07-26 23:18 keepsummer 阅读(397) 评论(0) 推荐(0)