瀏覽代碼

update0519

tremble 2 年之前
父節點
當前提交
9ad8ccead2

+ 3 - 2
public/showMobile.html

@@ -23,8 +23,9 @@
     <script src="<%= VUE_APP_STATIC_DIR %>/lib/howler/howler.min.js"></script>
     <script src="<%= VUE_APP_STATIC_DIR %>/lib/swiper/swiper-bundle.min.js"></script>
     <!-- <script src="<%= VUE_APP_STATIC_DIR %>/lib/jssor/jssor.slider-28.1.0.min.js"></script> -->
-    <!-- <script src="https://4dkk.4dage.com/v4-test/www/viewer/static/lib/vconsole.js"></script> -->
-    <!-- <script>
+    <!-- <script src="<%= VUE_APP_STATIC_DIR %>/lib/vconsole.js"></script>
+
+    <script>
       var vConsole = new window.VConsole()
     </script> -->
   </body>

文件差異過大導致無法顯示
+ 10 - 0
public/showviewer/lib/vconsole.js


+ 1 - 1
src/components/UIGather/mobile/control.pano_js.vue

@@ -199,7 +199,7 @@ const onVR = () => {
         }
       }
     } else {
-      Dialog.alert('运动和方向访问失败,您需要完全关闭此应用,然后再次打开,并允许访问运动与方向')
+      alert('运动和方向访问失败,您需要完全关闭此应用,然后再次打开,并允许访问运动与方向')
     }
   });
 

+ 1 - 0
src/sdk/QJKanKan/modules/Tags.js

@@ -60,6 +60,7 @@ export default class Tags extends Emiter {
       // let atv = this.app.krpanoDom.get("curscreen_atv");
       // krpano.call("screentosphere(curscreen_x, curscreen_y, curscreen_ath, curscreen_atv);");
       const hotspot = convertJQHotspot(param);
+      if (!hotspot) return;
       // debugger;
       const hotspotStyle = Object.values(hotspot.style);
       const hotspotString = hotspotStyle.join('|');