错误调试
(ɔˆ ³(ˆ⌣ˆc)
这个作者很懒,什么都没留下…
展开
-
记录一次springboot播放本地音乐文件
一开始把问题想复杂了,以为要各种配置,读取音乐文件输入输出流,将输出流交给前端来播放,直接将音乐文件放在resources/static/**就可以直接访问了访问地址:http://localhost:11000/song/1610248433908.mp3...原创 2021-01-10 11:35:09 · 1019 阅读 · 0 评论 -
记一次使用mybatis-plus的分页失效解决
springboot+vue前后端分离,后端使用mybatis-plus的page进行分页,但是从返回给前端的数据,显示totalCount=0.网上搜索了半天,原来是需要配置一个PaginationInterceptor@Configurationpublic class MybatisPlusPageConfig { @Bean public PaginationInterceptor paginationInterceptor() { PaginationInte原创 2020-12-14 20:09:00 · 254 阅读 · 0 评论 -
[Vue warn]: Property or method “msg1“ is not defined on the instance but referenced during render. M
[Vue warn]: Property or method “msg1” is not defined on the instance but referenced during render. M问题描述:在组件定义的时候,组件的data定义也没有任何问题,但是运行时报错Property or method “msg1” is not defined,并且组件会被渲染两次。浏览器报错信息: vue.js:634 [Vue warn]: Property or method “msg1” is no原创 2020-12-04 12:34:53 · 1190 阅读 · 0 评论 -
IDEA启动Springboot启动不报错但无端口号信息
IDEA启动Springboot启动不报错但无端口号信息错误描述:springboot启动没有报错,但是没有端口号信息,且浏览器无法访问错误的界面如下:解决办法:添加starter-web依赖项目正常启动,浏览器可以正常访问...原创 2020-12-02 10:55:38 · 3163 阅读 · 1 评论 -
关于elementUI的el-select后台数据回显时显示label值
关于elementUI的el-select后台数据回显时显示label值*期待的结果是:结果却是:解决方法:在label的value前加一个v-bind回显正确:原创 2020-11-30 21:36:48 · 1166 阅读 · 0 评论 -
spring boot报错
写了一个获取配置文件属性值的组件,spring boot启动报错信息如下:@Component@ConfigurationProperties(prefix = “student”)public class Student {// @Value("${student.s-name}")private String sName;private int sNo;private Map<String,Object> maps;private List lists;org.spr原创 2020-07-07 12:54:09 · 140 阅读 · 0 评论