From 9fc5d74f6e4c5502258ac665e512f5225e3c078b Mon Sep 17 00:00:00 2001 From: RuoYi Date: Tue, 13 Oct 2020 17:40:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8=E5=8F=82=E6=95=B0dateRange?= =?UTF-8?q?=E8=80=8C=E9=9D=9Ebind=E5=9C=A8model=E4=B8=8A=E7=9A=84dateRange?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/utils/ruoyi.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/utils/ruoyi.js b/ruoyi-ui/src/utils/ruoyi.js index 899459b0..f4817e40 100644 --- a/ruoyi-ui/src/utils/ruoyi.js +++ b/ruoyi-ui/src/utils/ruoyi.js @@ -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; }