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 |
|---|---|---|
| 2163 | 2026. 02. 11. | React Server Components 심층 이해와 활용 |
| 2162 | 2026. 02. 11. | Next.js 15 App Router 완전 정복 가이드 |
| 2053 | 2025. 11. 30. | CSS-in-JS vs Tailwind CSS 비교 |
| 2052 | 2025. 11. 30. | Jest와 React Testing Library 테스트 작성 |
| 2051 | 2025. 11. 30. | Zustand - 간단한 상태 관리 라이브러리 |
| 2050 | 2025. 11. 30. | React Query(TanStack Query)로 서버 상태 관리 |
| 2049 | 2025. 11. 30. | Webpack에서 Vite로 마이그레이션 |
| 2048 | 2025. 11. 30. | JavaScript ES2024 새 기능 |
| 2047 | 2025. 11. 30. | Vue 3 Composition API 활용법 |
| 2046 | 2025. 11. 30. | Next.js App Router 마이그레이션 가이드 |