!102 rouyi.js中添加日期范围方法dateRange获取bug修复

Merge pull request !102 from zora/master
master
若依 4 years ago committed by Gitee
commit f67c97e095
  1. 4
      ruoyi-ui/src/utils/ruoyi.js

@ -59,8 +59,8 @@ export function addDateRange(params, dateRange) {
search.beginTime = ""; search.beginTime = "";
search.endTime = ""; search.endTime = "";
if (null != dateRange && '' != dateRange) { if (null != dateRange && '' != dateRange) {
search.beginTime = this.dateRange[0]; search.beginTime = dateRange[0];
search.endTime = this.dateRange[1]; search.endTime = dateRange[1];
} }
return search; return search;
} }

Loading…
Cancel
Save