refactor(login): move match-route logic to dedicated service and fix import

- 提取登录回跳、产品对比的路由匹配逻辑至独立的 match-route.uts 服务
- 修复登录页面导入对比服务的错误,改为导入新的 match-route 模块
- 保持原有的路由参数校验和跳转逻辑不变,仅重构代码结构
This commit is contained in:
hujun
2026-10-12 09:28:09 +08:00
parent 25cb06b71c
commit b418969e92
39 changed files with 49277 additions and 119 deletions
+1 -1
View File
@@ -30,7 +30,7 @@
import { assistantReturnPath } from '@/services/assistant-return.uts'
import { nextStepRoute } from '@/services/next-step-route.uts'
import { reportRoute } from '@/services/report-route.uts'
import { matchReturnPath } from '@/packages/finance/services/compare.uts'
import { matchReturnPath } from '@/services/match-route.uts'
let afterLoginUrl = '/pages/home/home'
onLoad((options) => {
consumeInitialLaunch()