Browse Source

按需组件导入

yuxingxing 2 years ago
parent
commit
79c47bfce0
2 changed files with 4 additions and 2 deletions
  1. 2 2
      config/app.js
  2. 2 0
      manifest.json

+ 2 - 2
config/app.js

@@ -2,8 +2,8 @@ module.exports = {
 	// 小程序配置
 	// #ifdef MP || APP-PLUS
 	// 请求域名 格式: https://您的域名
-	// HTTP_REQUEST_URL: `https://www.gzzhsckj.com`,
-	HTTP_REQUEST_URL: `http://wine.gzzzyd.com`,
+	HTTP_REQUEST_URL: `https://www.gzzhsckj.com`,
+	// HTTP_REQUEST_URL: `http://wine.gzzzyd.com`,
 	// HTTP_REQUEST_URL: `v4.crmeb.net`,
 	// #endif
 	

+ 2 - 0
manifest.json

@@ -157,6 +157,7 @@
         }
     },
     "quickapp" : {},
+    
     "mp-weixin" : {
         "appid" : "wx8b2b4e2abfd0744f",
         "setting" : {
@@ -170,6 +171,7 @@
                 "desc" : "你的位置信息将用于和门店的距离长度"
             }
         },
+        "lazyCodeLoading": "requiredComponents",
         "usingComponents" : true
     },
     "mp-alipay" : {