diff --git a/frontend/src/views/factor/LeaderboardDetail.vue b/frontend/src/views/factor/LeaderboardDetail.vue index e311b35..6a02b78 100644 --- a/frontend/src/views/factor/LeaderboardDetail.vue +++ b/frontend/src/views/factor/LeaderboardDetail.vue @@ -34,7 +34,8 @@ function goBack() { } function goToNewFactor() { - router.push('/factor/new') + // 桥接到老因子分析页(alphalens 完整 tears),带因子名预填 + router.push({ path: '/factor/new', query: { factor: detail.value?.factor || '' } }) } const currentMetrics = computed(() => { diff --git a/frontend/src/views/factor/New.vue b/frontend/src/views/factor/New.vue index 8cba0d5..4fa80d3 100644 --- a/frontend/src/views/factor/New.vue +++ b/frontend/src/views/factor/New.vue @@ -1,11 +1,12 @@