Ver Fonte

微信组件按需导入

vaecebyZ há 1 ano atrás
pai
commit
4e239f7b29
1 ficheiros alterados com 2 adições e 1 exclusões
  1. 2 1
      manifest.json

+ 2 - 1
manifest.json

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