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