|
@@ -26,11 +26,14 @@ function doOpen(item) {
|
|
|
const newRoute = {
|
|
|
name: currentRoute.name,
|
|
|
params: {
|
|
|
- content: currentRoute.params.content,
|
|
|
+ content: 'content',
|
|
|
id: item.id + '.html'
|
|
|
- }
|
|
|
+ },
|
|
|
+ query: currentRoute.query
|
|
|
}
|
|
|
- router.push(newRoute)
|
|
|
+ const link = router.resolve(newRoute)
|
|
|
+
|
|
|
+ location.href = link.href.replace('/swordfish/page_big_pc', '')
|
|
|
}
|
|
|
}
|
|
|
</script>
|