From 5f4700aa791b44a6d649ee46781723377db193b7 Mon Sep 17 00:00:00 2001 From: xuhe Date: Wed, 29 Jun 2022 17:27:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=BF=E6=BA=90=E6=B7=BB=E5=8A=A0=E7=89=A9?= =?UTF-8?q?=E4=B8=9A=E7=B1=BB=E5=9E=8Bbug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/webapp/avgPriceUpdate/districtDetail.ftl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/fangjia-bkoff/src/main/webapp/avgPriceUpdate/districtDetail.ftl b/projects/fangjia-bkoff/src/main/webapp/avgPriceUpdate/districtDetail.ftl index ac49fc289..929a94d63 100644 --- a/projects/fangjia-bkoff/src/main/webapp/avgPriceUpdate/districtDetail.ftl +++ b/projects/fangjia-bkoff/src/main/webapp/avgPriceUpdate/districtDetail.ftl @@ -744,13 +744,13 @@ $(data).each(function(i,item){ var pdate = item.pDate + ""; var ds = pdate.substring(0, 4) + '-' + pdate.substring(4, 6) + '-' + pdate.substring(6) - if (item.estateType.indexOf('别墅') > -1){ + if ((item.estateType!=null) && (item.estateType.indexOf('别墅') > -1)){ series_arry_2.push({ x:new Date(ds), y:Math.round(item.totalPrice/item.area), data:item }) - }else if((item.estateType.indexOf('商住') > -1) || (item.estateType.indexOf('公寓酒店') > -1)){ + }else if((item.estateType!=null) && ((item.estateType.indexOf('商住') > -1) || (item.estateType.indexOf('公寓酒店') > -1))){ series_arry_1.push({ x:new Date(ds), y:Math.round(item.totalPrice/item.area),