[st] - 검토단 작업 완료 및 입력6-1, 10-1 운영데이터업데이트 기능 추가, 텝 영역 우클릭 후 텝 닫기 기능 추가
This commit is contained in:
@@ -55,7 +55,7 @@ export function resolveStatisticsTabId(urlPath: string): string {
|
||||
return componentName || rawUrlPath;
|
||||
}
|
||||
|
||||
/** `@/components/statistics/{category}/{Component}` 경로 */
|
||||
/** `@/components/statistics/{category}/{Component}` 또는 루트 컴포넌트 경로 */
|
||||
export function buildStatisticsComponentImportPath(
|
||||
urlPath: string,
|
||||
parentEngNm: string,
|
||||
@@ -63,6 +63,9 @@ export function buildStatisticsComponentImportPath(
|
||||
const { componentName } = parseStatisticsMenuUrlPath(urlPath);
|
||||
const category = resolveStatisticsCategory(urlPath, parentEngNm);
|
||||
const name = componentName || urlPath;
|
||||
if (!category) {
|
||||
return `@/components/statistics/${name}`;
|
||||
}
|
||||
return `@/components/statistics/${category}/${name}`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user