Browse Source

修改一波

shaogen1995 8 months ago
parent
commit
4698f20242
2 changed files with 6 additions and 2 deletions
  1. 4 0
      SWKK/src/components/Hot.vue
  2. 2 2
      SWKK/src/views/HotPage.vue

+ 4 - 0
SWKK/src/components/Hot.vue

@@ -355,6 +355,10 @@ export default {
   mounted() {
     setTimeout(() => {
       this.show = true;
+
+      // console.log('-------',this.info,this.hotIdOrName);
+      
+
     }, 300);
 
     // 如果有对应的点位音频,删除

+ 2 - 2
SWKK/src/views/HotPage.vue

@@ -29,10 +29,10 @@ export default {
       
       // data.forEach(v=>{
         
-      //   console.log(`id:${v.panoId},title:${v.title}`);
+      //   console.log(`sid:${v.sid},title:${v.title}`);
       // })
       
-     let info =data.find(v=>v.panoId===this.$route.params.id)
+     let info =data.find(v=>v.sid===this.$route.params.id)
      this.openHotFu(info,data)
     },