- 博客(4)
- 收藏
- 关注
原创 Module build failed: TypeError [ERR_INVALID_ARG_TYPE]: The “path“ argument must be of type string.
今天在开一个新vue项目时候突然报错,原因未知,查了好久才发现是sass-loader版本过高导致的错误代码:Module build failed: TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined网上的问题来源大多是react项目的报错,鲜有vue的。解决方案:重装低版本sass-loadernpm uninstall sass-loa
2020-09-18 22:52:27
2143
5
原创 CSS样式设置div水平垂直居中
最近在实习,做的是前端开发的工作,不止一次遇到了需要行元素水平垂直居中的问题,我自己css基础一般,写逻辑的能力比较强,于是百度了一下,大多都是下面第一种解决方案:方案一text-align: center;height: 100px;line-height: 100px;主要是利用行高 = div高度的方式来解决垂直居中,但是只适用于仅有一行的内容,遇到多行的内容,flex布局则会更...
2019-11-08 00:11:13
174
原创 Mapper method 'XXXX' has an unsupported return type:XXXX
问题:在使用Mybatis进行insert,update,delete等操作时,返回值只能是int,不能是映射的Java类解决办法:以上操作只能返回int类型,一般用来返回受影响的行数...
2019-05-16 20:53:10
71933
原创 mybatis查询,Cause: org.postgresql.util.PSQLException: ERROR: column "id" does not exist
### Error querying database. Cause: org.postgresql.util.PSQLException: ERROR: column "id" does not exist 位置:26### The error may exist in file [/Users/jason/IdeaProjects/SpringBootdemo/target/class...
2019-05-16 15:42:25
10300
8
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人