From 54275d648197c78628a7c36378dc2a1c2d313c00 Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Tue, 23 Jun 2020 23:22:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=8D=95=E5=85=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/pages/property/unit/unit.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/public/pages/property/unit/unit.js b/public/pages/property/unit/unit.js index b3872c3f3..06eacc67c 100644 --- a/public/pages/property/unit/unit.js +++ b/public/pages/property/unit/unit.js @@ -43,6 +43,9 @@ methods:{ _loadUnits:function(_param){ vc.component.unitInfo._currentFloorId=_param.floorId; + if(!vc.notNull(_param.floorId)){ + return; + } vc.component.unitInfo.conditions.communityId = vc.getCurrentCommunity().communityId; var param = { params:vc.component.unitInfo.conditions