nieyuge 2 tahun lalu
induk
melakukan
168e6945a6
1 mengubah file dengan 5 tambahan dan 6 penghapusan
  1. 5 6
      pages/index.vue

+ 5 - 6
pages/index.vue

@@ -345,6 +345,8 @@ export default {
 		},
 		clickOpenChrome() {
 			window.open('https://www.google.com/chrome')
+
+            let extParams = this.isMobile() ? {} : { status: this.reportStatus }
             Report.reportLog({
 				baseInfo: {
 					appVersionCode: this.appVersionCode,
@@ -361,9 +363,7 @@ export default {
                         srcContentId: this.detail.srcContentId,
                         senderId: this.detail.srcUserId,
 					},
-                    extParams: {
-                        status: '',
-                    }
+                    extParams: extParams
 				}
 			})
 		},
@@ -374,6 +374,7 @@ export default {
 		installExtension() {
 			let { extensionsInstallChannel, extensionsInstallUrl } = this.config;
 			let url = extensionsInstallUrl;
+            let extParams = this.isMobile() ? {} : { status: this.reportStatus }
 			Report.reportLog({
 				baseInfo: {
 					appVersionCode: this.appVersionCode,
@@ -390,9 +391,7 @@ export default {
                         srcContentId: this.detail.srcContentId,
                         senderId: this.detail.srcUserId,
 					},
-                    extParams: {
-                        status: '',
-                    }
+                    extParams: extParams,
 				}
 			})
 			switch (extensionsInstallChannel) {