|
@@ -48,6 +48,12 @@ import { updateByTreeFileLists } from "@/store/case";
|
|
console.log(menuRouteNames, 'menuRouteNames', router.currentRoute.value.name);
|
|
console.log(menuRouteNames, 'menuRouteNames', router.currentRoute.value.name);
|
|
const sceneURL = ref('/code/index.html?caseId=360#/show')
|
|
const sceneURL = ref('/code/index.html?caseId=360#/show')
|
|
const isSystem = computed(() => routeIsSystem());
|
|
const isSystem = computed(() => routeIsSystem());
|
|
|
|
+const caseId = computed(() => {
|
|
|
|
+ const caseId = router.currentRoute.value.params.caseId;
|
|
|
|
+ if (caseId) {
|
|
|
|
+ return Number(caseId);
|
|
|
|
+ }
|
|
|
|
+});
|
|
updateByTreeFileLists()
|
|
updateByTreeFileLists()
|
|
const hiddenSlide = computed(
|
|
const hiddenSlide = computed(
|
|
() => !menuRouteNames.includes(router.currentRoute.value.name as string)
|
|
() => !menuRouteNames.includes(router.currentRoute.value.name as string)
|