|
@@ -17,9 +17,17 @@
|
|
|
|
|
|
<script setup>
|
|
|
import { exhibitionData, getEnvImagePath } from "@lbc/base";
|
|
|
+import { useRouter } from "vue-router";
|
|
|
+
|
|
|
+const router = useRouter();
|
|
|
|
|
|
const goToDetail = (item) => {
|
|
|
- window.location = item.link;
|
|
|
+ router.push({
|
|
|
+ name: "iframe",
|
|
|
+ query: {
|
|
|
+ u: encodeURIComponent(item.link),
|
|
|
+ },
|
|
|
+ });
|
|
|
};
|
|
|
</script>
|
|
|
|