Sfoglia il codice sorgente

活动中进入报告增加时间戳

jwyu 3 anni fa
parent
commit
2b4d8dd9ec
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      pages-activity/reportDetail.vue

+ 2 - 1
pages-activity/reportDetail.vue

@@ -13,7 +13,8 @@ export default {
 
         const eventChannel = this.getOpenerEventChannel()
         eventChannel.on('webUrl', (data)=> {
-            this.url=`${data.url}&token=${this.$store.state.user.token}`
+            const timestamp=new Date().getTime()
+            this.url=`${data.url}&token=${this.$store.state.user.token}&timestamp=${timestamp}`
         })
     }
 }