瀏覽代碼

开启小程序的日志上报

shmily1213 4 周之前
父節點
當前提交
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",

文件差異過大導致無法顯示
+ 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) {

文件差異過大導致無法顯示
+ 0 - 0
src/pagesStudy/static/echarts.min.js


部分文件因文件數量過多而無法顯示