Parcourir la source

微信组件按需导入

vaecebyZ il y a 1 an
Parent
commit
4e239f7b29
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      manifest.json

+ 2 - 1
manifest.json

@@ -82,7 +82,8 @@
             "scope.userLocation" : {
                 "desc" : "获取你的位置,用于更好的使用服务"
             }
-        }
+        },
+		"lazyCodeLoading" : "requiredComponents"
     },
     "mp-alipay" : {
         "usingComponents" : true