[修改]此工具类应使用参数dateRange而非bind在model上的dateRange
This commit is contained in:
parent
fb07677c32
commit
5b0525d05c
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue