04 2021 档案
摘要:application.yml 加入: spring: thymeleaf: prefix: classpath:/templates/ suffix: .html mode: HTML encoding: UTF-8 cache: false servlet: content-type: text
阅读全文
摘要:第一步:自定义类 import org.apache.commons.lang.StringUtils; import org.springframework.core.convert.converter.Converter; import org.springframework.stereotyp
阅读全文
摘要:天在提交代码的时候,出现了一个这样的错误。IDEA在使用"svn"关联项目时报错Error:Cannot run program “svn” (in directory “路径XXXXXX”):CreateProcess error=2。报该错误的主要原因是我的svn安装的时候没有安装command
阅读全文
摘要:getWeekDay(date) { let weekArray = new Array("日", "一", "二", "三", "四", "五", "六"); let week = weekArray[new Date(date).getDay()];//注意此处必须是先new一个Date ret
阅读全文