Browse Source

指引线位置

huliu 1 year ago
parent
commit
a74cbb17a8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/components/home.vue

+ 2 - 1
src/components/home.vue

@@ -162,7 +162,7 @@ export default ({
162
         const handleResponseFunction = (data) => {
162
         const handleResponseFunction = (data) => {
163
             // console.log("从UE返回过来的值", data)
163
             // console.log("从UE返回过来的值", data)
164
             let json = eval("(" + data + ")");//转对象
164
             let json = eval("(" + data + ")");//转对象
165
-            // clickData.value = json;
165
+
166
             console.log("clickData---点击的数据", json)
166
             console.log("clickData---点击的数据", json)
167
             if (json.videoUrl) {
167
             if (json.videoUrl) {
168
                 videoDialog.value = true;
168
                 videoDialog.value = true;
@@ -170,6 +170,7 @@ export default ({
170
                 titleDialog.value = "互动教室"
170
                 titleDialog.value = "互动教室"
171
                 return
171
                 return
172
             }
172
             }
173
+            clickData.value = json;
173
             if (json.deviceCode) {
174
             if (json.deviceCode) {
174
                 getClassDetail(json.deviceCode).then(res => {
175
                 getClassDetail(json.deviceCode).then(res => {
175
                     classDeviceInfo.value = res.data;
176
                     classDeviceInfo.value = res.data;