|
@@ -4,7 +4,7 @@
|
4
|
4
|
<img :src="headImg" alt="" />
|
5
|
5
|
</div>
|
6
|
6
|
<el-container>
|
7
|
|
- <Left @childMethod="childMethod"></Left>
|
|
7
|
+ <Left ref="childRef" @childMethod="childMethod"></Left>
|
8
|
8
|
<right></right>
|
9
|
9
|
<div ref="linedomRef" style="width:1px;height:1px;position: absolute;z-index: 228;background:#ccc;">
|
10
|
10
|
</div>
|
|
@@ -205,9 +205,28 @@ export default ({
|
205
|
205
|
}
|
206
|
206
|
|
207
|
207
|
|
208
|
|
-
|
|
208
|
+ const childRef = ref(null);
|
209
|
209
|
const handleResponseFunction = (data) => {
|
210
|
210
|
console.log("从UE返回过来的值", data)
|
|
211
|
+
|
|
212
|
+ //如果退出教室
|
|
213
|
+ if(data=='quit_class'){
|
|
214
|
+
|
|
215
|
+ //消失线
|
|
216
|
+ lineContainer.value.remove()
|
|
217
|
+ lineContainer.value = null
|
|
218
|
+ //消失点击详情
|
|
219
|
+ popoverRef.value.style.display = "none"
|
|
220
|
+ //消失面板
|
|
221
|
+ if (childRef.value) {
|
|
222
|
+ childRef.value.clearPanel();
|
|
223
|
+ }
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+ }
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
211
|
230
|
if (data == "{isrotate}") {
|
212
|
231
|
// console.log("旋转场景了", lineContainer, lineContainer.value);
|
213
|
232
|
if (lineContainer.value) {
|
|
@@ -346,7 +365,8 @@ export default ({
|
346
|
365
|
headImg,
|
347
|
366
|
titleDialog,
|
348
|
367
|
orientation,
|
349
|
|
- childMethod
|
|
368
|
+ childMethod,
|
|
369
|
+ childRef
|
350
|
370
|
|
351
|
371
|
}
|
352
|
372
|
},
|