diff --git a/front/src/views/abilityStatistics/components/AbilityRanking.vue b/front/src/views/abilityStatistics/components/AbilityRanking.vue index 33aaac78..43e43c8c 100644 --- a/front/src/views/abilityStatistics/components/AbilityRanking.vue +++ b/front/src/views/abilityStatistics/components/AbilityRanking.vue @@ -138,12 +138,20 @@ //查看详情方法 function viewDetails(id) { console.log('id=========>', id) - router.push({ - path: '/details', + // router.push({ + // path: '/details', + // query: { + // id: id, + // }, + // }) + const detailPage = router.resolve({ + path: '/details', // 跳转的页面路由 query: { id: id, + hiddenBackFlag: true, }, }) + window.open(detailPage.href, '_blank') } // 获取榜单数据 const praiseList = ref([]) diff --git a/front/src/views/abilityStatistics/components/CapabilityRequirements.vue b/front/src/views/abilityStatistics/components/CapabilityRequirements.vue index 1e081145..34d63e7b 100644 --- a/front/src/views/abilityStatistics/components/CapabilityRequirements.vue +++ b/front/src/views/abilityStatistics/components/CapabilityRequirements.vue @@ -59,12 +59,20 @@ //查看详情方法 function viewDetails(id) { console.log('id=========>', id) - router.push({ - path: '/demandDetails', + // router.push({ + // path: '/demandDetails', + // query: { + // id: id, + // }, + // }) + const detailPage = router.resolve({ + path: '/demandDetails', // 跳转的页面路由 query: { id: id, + // hiddenBackFlag: true, }, }) + window.open(detailPage.href, '_blank') } function jumpPage() { router.push({ diff --git a/front/src/views/newHome/components/LatestCapabilities.vue b/front/src/views/newHome/components/LatestCapabilities.vue index 4f83e330..77381fa6 100644 --- a/front/src/views/newHome/components/LatestCapabilities.vue +++ b/front/src/views/newHome/components/LatestCapabilities.vue @@ -8,13 +8,13 @@