From f397db2d88dbb5d604745e33bb87c1c947e40323 Mon Sep 17 00:00:00 2001 From: Renpc-kilig <308442850@qq.com> Date: Tue, 14 Nov 2023 10:20:31 +0800 Subject: [PATCH] =?UTF-8?q?bug=E4=BF=AE=E6=94=B9=20=20--renpc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/templates/house/save.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/resources/templates/house/save.html b/src/main/resources/templates/house/save.html index 1de93b3..6ae8b19 100644 --- a/src/main/resources/templates/house/save.html +++ b/src/main/resources/templates/house/save.html @@ -481,6 +481,8 @@ // 初始化单元/列数下拉列表 function initAffiliationUnit(num) { + var html = ''; + $('#affiliationUnitDiv').find('select').html(html); if(num > 0) { for(var i=1; i<=num; i++) { var html = ''; @@ -495,6 +497,8 @@ // 初始化所在层/院数下拉列表 function initAffiliationFloors(num) { + var html = ''; + $('#affiliationFloorsDiv').find('select').html(html); if(num > 0) { for(var i=1; i<=num; i++) { var html = '';