shaogen1995 %!s(int64=2) %!d(string=hai) anos
pai
achega
402a9c03b6

+ 1 - 1
pc场景/public/static/js/Hot.js

@@ -43,7 +43,7 @@ window.initHot = function (model) {
         // src ='http://localhost:8081/#/?m=4QlWJ388649&time=1680838841927&id=TEST&c=1'
         // 如果是英文版
         if(window.location.href.includes('_1')) src=src+'&c=1'
-        return src.replace('https://www.4dmodel.com/SuperTwo/hot_online1/', '/webHot') 
+        return src.replace('https://www.4dmodel.com/SuperTwo/hot_online1/', '/webHot/') 
         // return 'http://project.4dage.com:8017' + src  // 线上测试
         // return src     //打包 
 

+ 9 - 2
pc场景/src/views/gui/compomemt/mapSvg.vue

@@ -1279,8 +1279,15 @@ export default {
   },
   computed: {},
   watch: {
-    mapShow() {
-      this.activeInd = null;
+    mapShow(val) {
+      if (val) {
+        // // 获取当前点位id 和 数据id对比
+        // const moveId = window.player.currentPano.id;
+        // const findObj = this.data.find((v) => v.locId.id === moveId);
+        // if (findObj) {
+        //   this.activeInd = findObj.id;
+        // }
+      } else this.activeInd = null;
     },
   },
   methods: {

+ 9 - 2
pc场景/src/views/gui/compomemt/mapSvgEn.vue

@@ -1228,8 +1228,15 @@ export default {
   },
   computed: {},
   watch: {
-    mapShow() {
-      this.activeInd = null;
+    mapShow(val) {
+      if (val) {
+        // // 获取当前点位id 和 数据id对比
+        // const moveId = window.player.currentPano.id;
+        // const findObj = this.data.find((v) => v.locId.id === moveId);
+        // if (findObj) {
+        //   this.activeInd = findObj.id;
+        // }
+      } else this.activeInd = null;
     },
   },
   methods: {