jinx 2 月之前
父節點
當前提交
ca63da83de
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      packages/qjkankan-view/src/components/UIGather/mobile/control.pano.vue

+ 2 - 0
packages/qjkankan-view/src/components/UIGather/mobile/control.pano.vue

@@ -180,7 +180,9 @@ const onIsCommentary = () => {
 const enterVR = async () => {
 const enterVR = async () => {
   if ("xr" in navigator) {
   if ("xr" in navigator) {
     const session = await navigator.xr.requestSession("immersive-vr");
     const session = await navigator.xr.requestSession("immersive-vr");
+    console.error('支持')
   } else {
   } else {
+   console.error('不支持')
   }
   }
 };
 };