|
@@ -67,7 +67,7 @@
|
|
|
<div v-show="state.hasRead && state.showCnt && state.currentChapter.type == 30">
|
|
|
|
|
|
<!-- CCTV实训检测三维场景逻辑 -->
|
|
|
- <div v-if="state.chapterTree == 'cctv'">
|
|
|
+ <div v-if="threeWorldLoadType == 'cctv'">
|
|
|
<CourseChapter3d
|
|
|
:config="state?.currentChapter ?? ''"
|
|
|
:studentTaskIdList="studentTaskIdList"
|
|
@@ -133,7 +133,7 @@ const state: anyObj = reactive({
|
|
|
*
|
|
|
* 默认null ,则先不触发加载
|
|
|
*/
|
|
|
-let threeWorldLoadType = ref(null);
|
|
|
+let threeWorldLoadType : any = ref(null);
|
|
|
|
|
|
let chapterQueue: Array<Array<anyObj>> = [];
|
|
|
let maxChapterNum = 0;
|
|
@@ -610,17 +610,17 @@ const threeWorldLoadTypeEvent = () => {
|
|
|
console.log("threeDimensionalConfig", threeDimensionalConfig);
|
|
|
|
|
|
if (threeDimensionalConfig == "QV仿真实验") {
|
|
|
- state.chapterTree = "qv";
|
|
|
+ threeWorldLoadType.value = "qv";
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
if (threeDimensionalConfig == "将检测机器人6寸右侧轮子安装到正确位置") {
|
|
|
- state.chapterTree = "cctv";
|
|
|
+ threeWorldLoadType.value = "cctv";
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
if (threeDimensionalConfig == "声纳仿真实验") {
|
|
|
- state.chapterTree = "sonar";
|
|
|
+ threeWorldLoadType.value = "sonar";
|
|
|
return;
|
|
|
}
|
|
|
|