Ver Fonte

开启小程序的日志上报

shmily1213 há 4 semanas atrás
pai
commit
807e46cc6e

+ 9 - 2
src/manifest.json

@@ -58,7 +58,10 @@
             "subPackages" : true
         },
         "mergeVirtualHostAttributes" : true,
-        "slotMultipleInstance" : true
+        "slotMultipleInstance" : true,
+        "uniStatistics" : {
+            "enable" : true
+        }
     },
     "mp-alipay" : {
         "usingComponents" : true
@@ -70,7 +73,8 @@
         "usingComponents" : true
     },
     "uniStatistics" : {
-        "enable" : false
+        "enable" : false,
+        "version" : "2"
     },
     "vueVersion" : "3",
     "h5" : {
@@ -83,6 +87,9 @@
         "router" : {
             "mode" : "history",
             "base" : "/h5/"
+        },
+        "uniStatistics" : {
+            "enable" : true
         }
     },
     "locale" : "zh-Hans",

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
src/pagesOther/static/echarts.min.js


+ 2 - 2
src/pagesStudy/pages/exam-start/exam-start.vue

@@ -529,8 +529,8 @@ const loadExamData = async () => {
 const combinePaperData = async (examinee: Study.Examinee, paperType: EnumPaperType) => {
   examineeId.value = examinee.examineeId;
   report(events.ExamStartCombineData, {
-    envUser: localStorage.getItem('ie-user'),
-    envApp: localStorage.getItem('ie-app'),
+    envUser: uni.getStorageSync('ie-user'),
+    envApp: uni.getStorageSync('ie-app'),
   });
 
   if (!examinee.paperId) {

Diff do ficheiro suprimidas por serem muito extensas
+ 0 - 0
src/pagesStudy/static/echarts.min.js


Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff