浏览代码

fix:是否启用分页给到默认值

韩帛霖 1 年之前
父节点
当前提交
c56799ddb7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ruoyi-common/src/main/java/com/ruoyi/common/core/page/TableSupport.java

+ 1 - 1
ruoyi-common/src/main/java/com/ruoyi/common/core/page/TableSupport.java

@@ -50,7 +50,7 @@ public class TableSupport {
         pageDomain.setOrderByColumn(ServletUtils.getParameter(ORDER_BY_COLUMN));
         pageDomain.setIsAsc(ServletUtils.getParameter(IS_ASC));
         pageDomain.setReasonable(ServletUtils.getParameterToBool(REASONABLE));
-        pageDomain.setIsEnablePaging(ServletUtils.getParameterToBool(ISENABLEPAGING));
+        pageDomain.setIsEnablePaging(Convert.toBool(ServletUtils.getParameterToBool(ISENABLEPAGING), true));
         return pageDomain;
     }