shish 7 miesięcy temu
rodzic
commit
f66b6f623b
3 zmienionych plików z 21 dodań i 20 usunięć
  1. 1 1
      ghsApp/src/manifest.json
  2. 2 2
      hdApp/src/manifest.json
  3. 18 17
      mallApp/src/manifest.json

+ 1 - 1
ghsApp/src/manifest.json

@@ -207,7 +207,7 @@
         "optimization" : {
             "subPackages" : true
         },
-        "lazyCodeLoading" : "requiredComponents",
+        "lazyCodeLoading":"requiredComponents",
         "uniStatistics" : {
             "enable" : false
         },

+ 2 - 2
hdApp/src/manifest.json

@@ -191,8 +191,8 @@
         "optimization" : {
             "subPackages" : true
         },
-        "lazyCodeLoading" : "requiredComponents",
-        "uniStatistics" : {
+        "lazyCodeLoading":"requiredComponents",
+       "uniStatistics" : {
             "enable" : false
         },
         "unipush" : {

+ 18 - 17
mallApp/src/manifest.json

@@ -39,7 +39,7 @@
                     "NSPhotoLibraryAddUsageDescription" : "该应用需要读取您的相册,以便支持您修改头像、门店图片或花材图片",
                     "NSCameraUsageDescription" : "该应用需要获取您的摄像头权限,以便支持您直接拍照上传头像、门店图片或花材图片"
                 },
-                "idfa" : false
+                "idfa" : false            
             },
             /* SDK配置 */
             "sdkConfigs" : {
@@ -63,8 +63,9 @@
             "subPackages" : true
         },
         "usingComponents" : true,
-        "permission" : {},
-        "lazyCodeLoading" : "requiredComponents",
+        "permission" : {
+        },
+        "lazyCodeLoading":"requiredComponents",
         "uniStatistics" : {
             "enable" : false
         }
@@ -93,23 +94,23 @@
             // "mode" : "history",
             "base" : "/"
         },
-        "async" : {
-            "timeout" : 200000
+        "async": {
+            "timeout": 200000
         },
-        "optimization" : {
-            "treeShaking" : {
-                "enable" : true
+        "optimization": {
+            "treeShaking": {
+                "enable": true
             }
         },
-        "devServer" : {
-            "port" : 81,
-            "proxy" : {
-                "/api" : {
-                    "target" : "https://api.mall.huaml.com",
-                    "secure" : false,
-                    "changeOrigin" : true,
-                    "pathRewrite" : {
-                        "^/api" : ""
+        "devServer": {
+            "port": 81,
+            "proxy": {
+                "/api": {
+                    "target": "https://api.mall.huaml.com",
+                    "secure": false,
+                    "changeOrigin": true,
+                    "pathRewrite": {
+                        "^/api": ""
                     }
                 }
             }