|
@@ -20,8 +20,8 @@
|
|
>
|
|
>
|
|
<!-- @load="setupSDK($event.target)" -->
|
|
<!-- @load="setupSDK($event.target)" -->
|
|
<iframe
|
|
<iframe
|
|
- v-if="sceneURL"
|
|
|
|
- :src="sceneURL"
|
|
|
|
|
|
+ v-if="caseId"
|
|
|
|
+ :src="`/code/index.html?caseId=${caseId}#/show`"
|
|
frameborder="0"
|
|
frameborder="0"
|
|
:style="{ width: '100%', height: '100%' }"
|
|
:style="{ width: '100%', height: '100%' }"
|
|
></iframe>
|
|
></iframe>
|
|
@@ -46,8 +46,7 @@ import { computed, ref } from "vue";
|
|
import { menuRouteNames } from "@/app";
|
|
import { menuRouteNames } from "@/app";
|
|
import { updateByTreeFileLists } from "@/store/case";
|
|
import { updateByTreeFileLists } from "@/store/case";
|
|
console.log(menuRouteNames, 'menuRouteNames', router.currentRoute.value.name);
|
|
console.log(menuRouteNames, 'menuRouteNames', router.currentRoute.value.name);
|
|
-const sceneURL = ref('https://test.4dkankan.com/spg.html?m=KK-t-iN6cFCdwibf')
|
|
|
|
-
|
|
|
|
|
|
+const sceneURL = ref('/code/index.html?caseId=360#/show')
|
|
const isSystem = computed(() => routeIsSystem());
|
|
const isSystem = computed(() => routeIsSystem());
|
|
updateByTreeFileLists()
|
|
updateByTreeFileLists()
|
|
const hiddenSlide = computed(
|
|
const hiddenSlide = computed(
|