Browse Source

热点文件添加时间戳

tremble 3 years ago
parent
commit
dc02880bc1
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/app.vue

+ 2 - 1
src/app.vue

@@ -184,6 +184,7 @@ onMounted(async () => {
     num: browser.getURLParam("m"),
     dom: scene$.value,
     mobile: true,
+    isLoadTags:false
   });
   app.use("MinMap", { theme: { camera_fillStyle: "#ED5D18" } });
   app.use("Tag");
@@ -272,7 +273,7 @@ onMounted(async () => {
   app.Scene.on("loaded", (pano) => {
     refMiniMap.value = "[xui_min_map]";
     store.commit("setFloorId", pano.floorIndex);
-    app.resource.tags( `${process.env.VUE_APP_RESOURCE_URL}cdf/hot/${browser.getURLParam("m")}/hot.json`)
+    app.resource.tags( `${process.env.VUE_APP_RESOURCE_URL}cdf/hot/${browser.getURLParam("m")}/hot.json?rnd=${Math.random()}`)
     useMusicPlayer();
   });
   app.Scene.on("panorama.videorenderer.resumerender", () => {