Selaa lähdekoodia

fix(router): 修正比赛历史记录路由路径

- 将服务历史记录路径 /service/history 更新为比赛历史记录路径 /tournament/history
- 确保路由参数 tournamentId 和 playerId 正确传递到新路径
fugui 1 viikko sitten
vanhempi
commit
ee6d8d3836
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      src/views/system/business/tournaments/index.vue

+ 2 - 2
src/views/system/business/tournaments/index.vue

@@ -1986,7 +1986,7 @@ const handleViewHistory = (row: ClaimsVO) => {
   // 判断 playerId 是否有效(非 null、undefined)
   const playerIdStr = playerId != null ? String(playerId) : '';
   proxy?.$router.push({
-    path: '/service/history',
+    path: '/tournament/history',
     query: { tournamentId: String(tournamentId), playerId: playerIdStr }
   });
   auditDialog.value.visible = false;
@@ -1998,7 +1998,7 @@ const handleViewPublicHistory = (row: TournamentsVO) => {
   // 判断 playerId 是否有效(非 null、undefined)
   const playerIdStr = playerId != null ? String(playerId) : '';
   proxy?.$router.push({
-    path: '/service/history',
+    path: '/tournament/history',
     query: { tournamentId: String(tournamentId), playerId: playerIdStr }
   });
 };