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

Merge pull request !102 from zora/master
This commit is contained in:
若依 2020-10-09 11:37:18 +08:00 committed by Gitee
commit f67c97e095

View File

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