使用参数dateRange而非bind在model上的dateRange

pull/25/head
RuoYi 4 years ago
parent f245105b58
commit 9fc5d74f6e

@ -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…
Cancel
Save