Browse Source

日常开发

林旭祥 1 week ago
parent
commit
a8590f339d
1 changed files with 2 additions and 2 deletions
  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>