zy1125 1 рік тому
батько
коміт
a05e83f72e
2 змінених файлів з 15 додано та 3 видалено
  1. 14 2
      src/components/left.vue
  2. 1 1
      src/webrtcVideo.js

+ 14 - 2
src/components/left.vue

@@ -192,8 +192,20 @@ export default ({
192 192
             classInfo.value.online = classInfo.value.status == "在用" ? true : false
193 193
     
194 194
             mousemoveHandler(1000, 60)
195
-            callUIInteraction("initRoom")
196
-            console.log("item", item, item.lat);
195
+
196
+            let meg ={
197
+                X:item.lon,
198
+                Y:item.lat,
199
+                Z:item.leaf,
200
+            }
201
+
202
+
203
+            let a2 =`X=${item.lon} Y=${item.lat} Z=${item.leaf}`
204
+            console.log("meg是多少",a2);
205
+            callUIInteraction(a2)
206
+     
207
+
208
+            console.log("item22222", item, item.lat);
197 209
         }
198 210
 
199 211
 

+ 1 - 1
src/webrtcVideo.js

@@ -1422,7 +1422,7 @@ function emitDescriptor(messageType, descriptor) {
1422 1422
 // streamed UI from the UE4 client.
1423 1423
 function emitUIInteraction(descriptor) {
1424 1424
     console.log("看一下进入这里没有", descriptor)
1425
-    
1425
+    console.log('adsasd12',MessageType);
1426 1426
     emitDescriptor(MessageType.UIInteraction, descriptor);
1427 1427
 }
1428 1428