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

This commit is contained in:
shizhenwei 2020-09-27 13:22:23 +08:00
parent fb07677c32
commit 5b0525d05c

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