会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
keepsummer
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
17
下一页
2021年1月4日
vue之this.$route.params和this.$route.query的区别
摘要: 1.this.$route.query的使用 A、传参数: this.$router.push({ path: '/monitor', query:{ id:id, } }) B、获取参数: this.$route.query.id C、在url中形式(url中带参数) http://172.19.
阅读全文
posted @ 2021-01-04 11:31 keepsummer
阅读(590)
评论(0)
推荐(0)
2020年11月19日
解决bugs: mybatisPlus 分页不能生效
摘要: bug:使用的逆向工程是gitee上的人人开源网renren-generator 框架 ,前端传入参数: 但是数据库中返回的数据是所有数据,并没有分页 原因:没有写MybatisPlus的分页插件 import com.baomidou.mybatisplus.extension.plugins.P
阅读全文
posted @ 2020-11-19 16:45 keepsummer
阅读(825)
评论(0)
推荐(0)
2020年11月18日
解决bug :"status":400,"error":"Bad Request","message":"Required request body is missing:
摘要: 该请求是post 请求,用的是JSON格式,但是一直报400,可以注意到的是post请求的地址栏上带参数, 数据整体格式有问题, 代码如下: updateBrandStatus(data) { console.log("最新信息", data); let { brandId, showStatus
阅读全文
posted @ 2020-11-18 11:27 keepsummer
阅读(8480)
评论(0)
推荐(0)
vue,ElementUI中Switch 开关,switch 打开时的值为数字,该如何设置
摘要: 页面使用的是vue+ElementUI 想要显示状态与数据库中的数据保持一致 可以看到数据库中show_Status 中是数字类型,0 表示不显示,1表示显示 <el-table-column prop="showStatus" header-align="center" align="center
阅读全文
posted @ 2020-11-18 11:02 keepsummer
阅读(4988)
评论(0)
推荐(1)
2020年11月10日
解决bug:vue项目中点击修改按钮,不能显示要修改的分类名字
摘要: 问题描述: vue项目中点击修改按钮,不能显示要修改的分类名字,第二次点击修改会显示上一个点击过修改的分类名称 第一次点击"玩具乐器" ,弹框显示空白 再次点击“彩票、旅行、充值。。”,会显示“玩具乐器”。 问题修改: 在data中添加该属性name即可 data() { return { meus
阅读全文
posted @ 2020-11-10 16:10 keepsummer
阅读(460)
评论(0)
推荐(0)
2020年11月5日
The 'Access-Control-Allow-Origin' header contains multiple values'*, *', but only one is allowed.
摘要: 问题的原因:是因为使用了两次跨域, 网关module使用了配置类配置跨域,另一个module使用了类+controller的方式配置跨域 解决: 1、检查是否配置nginx进行跨域 解决办法:https://www.cnblogs.com/zsg88/articles/11576324.html 2
阅读全文
posted @ 2020-11-05 13:40 keepsummer
阅读(3114)
评论(0)
推荐(0)
2020年11月3日
SpringCloud 远程连接服务器中的nacos,一直提示连接本地8848
摘要: 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
阅读(4384)
评论(0)
推荐(0)
阿里云服务器中docker下安装nacos
摘要: 1、拉镜像,版本查看:https://github.com/nacos-group/nacos-docker docker pull nacos/nacos-server:1.1.4 //稳定版,无权限 docker pull nacos/nacos-server:1.3.1 //稳定版,有权限 2
阅读全文
posted @ 2020-11-03 15:40 keepsummer
阅读(2392)
评论(0)
推荐(0)
TestEngine with ID 'junit-vintage' failed to discover tests java.lang.NoSuchMethodError: org.junit.platform.engine.EngineDiscoveryRequest.getDiscoveryListener()
摘要: 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
阅读(6026)
评论(0)
推荐(0)
2020年10月30日
The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'.
摘要: 问题描述:Spring boot 项目加上@CrossOrigin也会报错 解决方法:https://segmentfault.com/q/1010000016904795
阅读全文
posted @ 2020-10-30 14:01 keepsummer
阅读(1666)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
17
下一页
公告