[修改]此工具类应使用参数dateRange而非bind在model上的dateRange

This commit is contained in:
shizhenwei 2020-09-27 13:22:23 +08:00
parent fb07677c32
commit 5b0525d05c
1 changed files with 148 additions and 148 deletions

View File

@ -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;
} }