修复地区筛选框问题

This commit is contained in:
liaozetao
2024-04-16 16:28:38 +08:00
parent 53574cb63e
commit 998df42200

View File

@@ -40,7 +40,7 @@ export function dateFormat (date, fmt) {
export function buildSelectOption(id, defVal, array) {
let $select = $(id);
let children = $select.children();
if (!children || children.length <= 0) {
if (children && children.length > 0) {
return;
}
for(let i in array) {