bug修改 --renpc

This commit is contained in:
Renpc-kilig 2023-11-14 10:20:31 +08:00
parent faf12be8dd
commit f397db2d88

View File

@ -481,6 +481,8 @@
// 初始化单元/列数下拉列表
function initAffiliationUnit(num) {
var html = '<option></option>';
$('#affiliationUnitDiv').find('select').html(html);
if(num > 0) {
for(var i=1; i<=num; i++) {
var html = '<option value="' + i + '">' + i + '</option>';
@ -495,6 +497,8 @@
// 初始化所在层/院数下拉列表
function initAffiliationFloors(num) {
var html = '<option></option>';
$('#affiliationFloorsDiv').find('select').html(html);
if(num > 0) {
for(var i=1; i<=num; i++) {
var html = '<option value="' + i + '">' + i + '</option>';