From 998df42200f33f0e4cb798e80bd36486dae7ec74 Mon Sep 17 00:00:00 2001 From: liaozetao <1107136310@qq.com> Date: Tue, 16 Apr 2024 16:28:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=9C=B0=E5=8C=BA=E7=AD=9B?= =?UTF-8?q?=E9=80=89=E6=A1=86=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/system-helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/system-helper.js b/src/utils/system-helper.js index 6aca6ee..72bd4f1 100644 --- a/src/utils/system-helper.js +++ b/src/utils/system-helper.js @@ -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) {