소스 검색

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

jwyu 3 년 전
부모
커밋
2b4d8dd9ec
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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}`
         })
     }
 }