跳转改为打开新页面

This commit is contained in:
2023-08-03 16:08:58 +08:00
parent 3900d5cc49
commit 56fa9e96d1
6 changed files with 47 additions and 26 deletions

View File

@@ -184,12 +184,15 @@ let watchInfo = () => {
store.state.seachSelect['seachPage'][key] = seachData[key]
}
}
router.push({
path: '/detail',
query: {
id: data.data.uniqid,
}
})
// console.log(document.location.origin)
// return
window.open(`${document.location.origin}/detail?id=${data.data.uniqid}`)
// router.push({
// path: '/detail',
// query: {
// id: data.data.uniqid,
// }
// })
}
onMounted(() => {