diff --git a/manifest.config.ts b/manifest.config.ts index a0a6383..2a8b454 100644 --- a/manifest.config.ts +++ b/manifest.config.ts @@ -118,7 +118,6 @@ export default defineManifestConfig({ minified: true, }, usingComponents: true, - // lazyCodeLoading: 'requiredComponents', // 微信小程序懒加载配置 // __usePrivacyCheck__: true, }, 'mp-alipay': { diff --git a/pages.config.ts b/pages.config.ts index 0ca07a3..547d0da 100644 --- a/pages.config.ts +++ b/pages.config.ts @@ -48,20 +48,4 @@ export default defineUniPages({ }, ], }, - // 微信小程序特定配置 - // 'mp-weixin': { - // lazyCodeLoading: 'requiredComponents', // 微信小程序懒加载配置 - // }, - // 使用条件编译添加微信小程序特定配置 - // #ifdef MP-WEIXIN - // lazyCodeLoading: 'requiredComponents', - // #endif - // 使用 custom 字段注入原生微信小程序配置 - // custom: { - // mpWeixin: { - // appJson: { - // lazyCodeLoading: 'requiredComponents', - // }, - // }, - // }, }) diff --git a/src/manifest.json b/src/manifest.json index 2fc2e54..344cc1a 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -85,12 +85,9 @@ "mp-weixin": { "appid": "wxa2abb91f64032a2b", "setting": { - "urlCheck": false, - "es6": true, - "minified": true + "urlCheck": false }, - "usingComponents": true, - "lazyCodeLoading": "requiredComponents" + "usingComponents": true }, "mp-alipay": { "usingComponents": true, diff --git a/src/pages.json b/src/pages.json index 997e3fc..d8c43f9 100644 --- a/src/pages.json +++ b/src/pages.json @@ -44,9 +44,6 @@ } ] }, - "mp-weixin": { - "lazyCodeLoading": "requiredComponents" - }, "pages": [ { "path": "pages/index/index",