[initData] 초기 실행 시 필요한 table, function, view, initData sql 파일 추가
This commit is contained in:
@@ -362,7 +362,7 @@ function checkServerDataChildren(array, targetValue) {
|
||||
const data = etUI.utils.getServerDataChildren(array, targetValue);
|
||||
|
||||
// children이 null이면 false, 아니면 길이가 1 이상인지 확인
|
||||
return data && data.children !== null && data.children.length >= 1;
|
||||
return data && Array.isArray(data.children) && data.children.length >= 1;
|
||||
}
|
||||
;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user