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 = '';