浏览代码

清除线

zy1125 1 年之前
父节点
当前提交
ec9e489193
共有 1 个文件被更改,包括 4 次插入0 次删除
  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'){