Browse Source

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

jwyu 3 năm trước cách đây
mục cha
commit
2b4d8dd9ec
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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}`
         })
     }
 }