升级pagehelper到最新版1.3.1

master
RuoYi 3 years ago
parent 751ca90690
commit 04f5a93aa8
  1. 2
      pom.xml
  2. 3
      ruoyi-common/src/main/java/com/ruoyi/common/core/page/PageDomain.java
  3. 2
      ruoyi-ui/vue.config.js

@ -23,7 +23,7 @@
<swagger.version>3.0.0</swagger.version> <swagger.version>3.0.0</swagger.version>
<kaptcha.version>2.3.2</kaptcha.version> <kaptcha.version>2.3.2</kaptcha.version>
<mybatis-spring-boot.version>2.1.4</mybatis-spring-boot.version> <mybatis-spring-boot.version>2.1.4</mybatis-spring-boot.version>
<pagehelper.boot.version>1.3.0</pagehelper.boot.version> <pagehelper.boot.version>1.3.1</pagehelper.boot.version>
<fastjson.version>1.2.76</fastjson.version> <fastjson.version>1.2.76</fastjson.version>
<oshi.version>5.7.4</oshi.version> <oshi.version>5.7.4</oshi.version>
<jna.version>5.8.0</jna.version> <jna.version>5.8.0</jna.version>

@ -67,7 +67,8 @@ public class PageDomain
public void setIsAsc(String isAsc) public void setIsAsc(String isAsc)
{ {
if (StringUtils.isNotEmpty(isAsc)) { if (StringUtils.isNotEmpty(isAsc))
{
// 兼容前端排序类型 // 兼容前端排序类型
if ("ascending".equals(isAsc)) if ("ascending".equals(isAsc))
{ {

@ -109,7 +109,7 @@ module.exports = {
config.optimization.runtimeChunk('single'), config.optimization.runtimeChunk('single'),
{ {
from: path.resolve(__dirname, './public/robots.txt'), //防爬虫文件 from: path.resolve(__dirname, './public/robots.txt'), //防爬虫文件
to: './', //到根目录下 to: './' //到根目录下
} }
} }
) )

Loading…
Cancel
Save