|
@@ -68,7 +68,10 @@ const typeLabel = computed(() => (type) => {
|
|
|
|
|
|
const handleVRButton = (id) => {
|
|
|
// const url = `https://sit-qiushoubwg.4dage.com/scene/index.html#/?m=1196`;
|
|
|
- const id = router.push(`/model-viewer/1196`);
|
|
|
+ console.log("VR-scene", id);
|
|
|
+ if (id) {
|
|
|
+ router.push(`/model-viewer/${id}`);
|
|
|
+ }
|
|
|
};
|
|
|
const props = defineProps({
|
|
|
id: {
|