A\An 3 anni fa
parent
commit
17b5f6d1ef
1 ha cambiato i file con 12 aggiunte e 12 eliminazioni
  1. 12 12
      pages/index.vue

+ 12 - 12
pages/index.vue

@@ -507,18 +507,6 @@ export default {
 
 
 	mounted() {
-		Report.reportLog({
-			baseInfo: {
-				appVersionCode: this.appVersionCode,
-				mid: this.mid,
-				pageSource: Report.pageSource.newUserLandingPage
-			},
-			params: {
-				eventData: {
-					businessType: Report.businessType.pageView,
-				}
-			}
-		})
 		this.getConfig()
 		if (!this.detail.postId) {
 			return
@@ -566,6 +554,18 @@ export default {
 			this.setCookieMid()
 			this.getRedPacket()
 			this.setPickupInfo()
+			Report.reportLog({
+				baseInfo: {
+					appVersionCode: this.appVersionCode,
+					mid: this.mid,
+					pageSource: Report.pageSource.newUserLandingPage
+				},
+				params: {
+					eventData: {
+						businessType: Report.businessType.pageView,
+					}
+				}
+			});
 		} else {
 			this.show_home = true
 			this.status = 'no-chrome'