任一存 пре 2 година
родитељ
комит
9f79e89ee8
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/views/PanoView.vue

+ 1 - 1
src/views/PanoView.vue

@@ -168,7 +168,7 @@ export default {
       // eslint-disable-next-line no-undef
       embedpano({
         xml: `${process.env.VUE_APP_ORIGIN}/YHT/Qjkk/local/pano/${this.scene.sceneCode}/vtour/tour.xml`,
-        swf: "%HTMLPATH%/static/template/tour.swf", // todo: 咋回事?
+        swf: "/static/template/tour.swf", // 文件名tour.swf没看出来有啥作用,不写也行。但它的路径决定了 %SWFPATH% 的值。
         target: "pano",
         html5: "auto",
         mobilescale: 1,