|
|
@@ -121,20 +121,20 @@ import { getFusionAndSceneList, addMix3dFusionIds } from '@/store/editCsae';
|
|
|
import { getMix3dPagging } from '@/store/scene';
|
|
|
import { confirm } from '@/helper/message';
|
|
|
import { user } from "@/store/user";
|
|
|
-const url = import.meta.env.VITE_DRAW_URL || 'http://mix3d.4dkankan.com';
|
|
|
+const url = import.meta.env.VITE_SEVER_URL || 'https://mix3d.4dkankan.com';
|
|
|
|
|
|
const route = useRoute();
|
|
|
const router = useRouter();
|
|
|
const caseId = computed(() => Number(route.params.caseId));
|
|
|
const scenes = ref<Scene[]>([]);
|
|
|
const hoverId = ref<string>('');
|
|
|
-const isFullscreen = ref(false);
|
|
|
+
|
|
|
const activeId = ref<string>('');
|
|
|
const props = defineProps<{ fire?: any, caseId?: number, editOrShow?: string }>();
|
|
|
const activeScene = computed(() => {
|
|
|
return scenes.value.find((s: any) => String(s?.fusionId) === activeId.value) || null;
|
|
|
});
|
|
|
-console.log(activeScene.value)
|
|
|
+
|
|
|
const activeNum = computed(() => (activeScene.value as any)?.num || '');
|
|
|
// 编辑弹窗相关
|
|
|
const editVisible = ref(false);
|