Contents
see List작성일 2016. 09. 09.
scope.testtest = function(data1){
var deferred = $q.defer();
if(data1.childrenCount > 0 || data1.rowCount > 0){
if(data1.type=="sbjt"){
manualAjaxService.getBaseAjax(data1.key,null).then(function(d) {
data1.children = d;
eferred.resolve(data1);
});
}
if(data1.type=="base"){
if(data1.childKey != null && data1.rowCount == 0){
manualAjaxService.getLectAjax(data1.childKey,null).then(function(d) {
data1.children = d;
deferred.resolve(data1);
});
}else{
manualAjaxService.getBaseAjax(data1.highKey,data1.key).then(function(d) {
data1.children = d;
deferred.resolve(data1);
});
}
}
}
return deferred.promise;
}
scope.reloadChildren = function (tarModelBean){
tarModelBean.children = null;
scope.testtest(tarModelBean).then(function (data1) {
data1.thisTreeShow = false;
data1.cLength = data1.children.length;
});
}
javascript
| No | 작성일 | Title |
|---|---|---|
| 2350 | 2026. 04. 07. | ES2025 Iterator Helpers 완벽 가이드 - map, filter, take를 이터레이터에서 직접 사용하기 |
| 2336 | 2026. 04. 06. | ES2025 새 기능 실전 가이드 - Promise.try, Iterator Helpers, Set 메서드 총정리 |
| 2321 | 2026. 04. 05. | ES2026 Temporal API 완벽 가이드: Date 객체를 대체하는 새로운 표준 |
| 2296 | 2026. 04. 05. | Temporal API로 JavaScript 날짜/시간 처리 완전 정복하기 |
| 2295 | 2026. 04. 05. | ES2026 using 키워드와 Explicit Resource Management 완벽 가이드 |
| 2268 | 2026. 04. 04. | Node.js 22 완벽 가이드: 네이티브 TypeScript, WebSocket, Permission Model 실전 활용 |
| 2267 | 2026. 04. 04. | ES2025 새 기능 총정리: Promise.try, Set 메서드, RegExp 플래그까지 |
| 2216 | 2026. 02. 11. | Zustand vs Jotai: 경량 상태관리 라이브러리 비교 |
| 2215 | 2026. 02. 11. | Bun 1.x 런타임과 빌드 도구 실전 가이드 |
| 2214 | 2026. 02. 11. | TypeScript 5.x 신기능과 고급 타입 시스템 |