瀏覽代碼

日常开发

林旭祥 1 周之前
父節點
當前提交
a8590f339d
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/game/fruit.vue

+ 2 - 2
src/views/game/fruit.vue

@@ -41,7 +41,7 @@ const getInit = async () => {
     }, 1000)
     return false;
   }
-  speckText("请举右手看摄像头进行姿态识别");
+  speckText("正在姿态识别");
   bodyposeWs((e: any) => {
     console.log("bodyposeWS", e)
     if (e?.wksid) {
@@ -151,7 +151,7 @@ onMounted(() => {
 })
 
 onBeforeUnmount(() => {
-
+  closeWS();
 });
 </script>