修复地区筛选框问题
This commit is contained in:
@@ -40,7 +40,7 @@ export function dateFormat (date, fmt) {
|
|||||||
export function buildSelectOption(id, defVal, array) {
|
export function buildSelectOption(id, defVal, array) {
|
||||||
let $select = $(id);
|
let $select = $(id);
|
||||||
let children = $select.children();
|
let children = $select.children();
|
||||||
if (!children || children.length <= 0) {
|
if (children && children.length > 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
for(let i in array) {
|
for(let i in array) {
|
||||||
|
Reference in New Issue
Block a user