From a62bdbabc1e315e3ae9518edc09b55fd556d18b2 Mon Sep 17 00:00:00 2001 From: claude_dev Date: Fri, 28 Aug 2026 23:02:49 +0800 Subject: [PATCH] =?UTF-8?q?fix(web):=20=E5=9B=A0=E5=AD=90=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E3=80=8C=E6=9F=A5=E7=9C=8B=E5=AE=8C=E6=95=B4=20tears?= =?UTF-8?q?=20=E6=8A=A5=E5=91=8A=E3=80=8D=E4=BB=8E=E8=A3=B8=E8=B7=B3?= =?UTF-8?q?=E8=80=81=E9=A1=B5=E6=94=B9=E4=B8=BA=E5=B8=A6=E5=9B=A0=E5=AD=90?= =?UTF-8?q?=E5=90=8D=E9=A2=84=E5=A1=AB=E2=80=94=E2=80=94=E5=8E=9F=E5=8D=A0?= =?UTF-8?q?=E4=BD=8D=E8=B7=B3=E8=BD=AC=E4=B8=8D=E5=B8=A6=E4=B8=8A=E4=B8=8B?= =?UTF-8?q?=E6=96=87,=E7=94=A8=E6=88=B7=E7=9C=8B=E5=88=B0=E7=9A=84?= =?UTF-8?q?=E5=83=8F=E9=83=A8=E7=BD=B2=E4=BA=86=E6=97=A7=E9=A1=B5;?= =?UTF-8?q?=E7=8E=B0=E7=BB=8F=20query.factor=20=E9=A2=84=E5=A1=AB=E8=80=81?= =?UTF-8?q?=E5=88=86=E6=9E=90=E9=A1=B5=E5=9B=A0=E5=AD=90=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E5=99=A8(=E6=8E=92=E8=A1=8C=E6=A6=9C=E6=B7=B1=E6=8C=96?= =?UTF-8?q?=E5=8D=95=E5=9B=A0=E5=AD=90=E7=9A=84=E6=AD=A3=E8=B7=AF);npm=20r?= =?UTF-8?q?un=20build=20=E7=BB=BF=20[nas]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/factor/LeaderboardDetail.vue | 3 ++- frontend/src/views/factor/New.vue | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) 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 @@