zy1125 hace 1 año
padre
commit
ec9e489193
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      src/components/home.vue

+ 4 - 0
src/components/home.vue

@@ -210,6 +210,10 @@ export default ({
210 210
             console.log("从UE返回过来的值", data)
211 211
 
212 212
             popoverRef.value.style.display = "none"
213
+            if (lineContainer.value) {
214
+                    lineContainer.value.remove()
215
+                    lineContainer.value = null
216
+                }
213 217
 
214 218
             //如果退出教室
215 219
             if(data=='quit_class'){