From c3a40e5bf567aa220e03878119608fccbf02ed16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E5=8F=B6?= Date: Wed, 1 Jun 2022 09:42:48 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E5=BD=93=E5=89=8D=E5=B9=B4=E6=9C=88?= =?UTF-8?q?=E6=97=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/customer/detail/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/customer/detail/index.js b/pages/customer/detail/index.js index 1689d77..346b314 100644 --- a/pages/customer/detail/index.js +++ b/pages/customer/detail/index.js @@ -787,7 +787,7 @@ Page({ let cindex = '' let dateList = this.data.dateList dateList.forEach((item,index) => { - if(item.day == this.data.cDay&&cindex == ''){ + if(item.year == this.data.cYear&&item.month == this.data.cMonth&&item.day == this.data.cDay){ cindex = index } })