From 81cc84e4b25b633a4a9a45ae6bad62a205025440 Mon Sep 17 00:00:00 2001 From: iven Date: Fri, 24 Apr 2026 17:47:29 +0800 Subject: [PATCH] =?UTF-8?q?fix(miniprogram):=20=E4=BF=AE=E5=A4=8D=20projec?= =?UTF-8?q?t.config.json=20=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 添加 miniprogramRoot: dist/ 指向 Taro 编译产物目录, 修复微信开发者工具无法加载小程序代码的问题。 更新 appid 为真实值,启用生产构建选项。 --- apps/miniprogram/project.config.json | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/apps/miniprogram/project.config.json b/apps/miniprogram/project.config.json index fef8a7f..da4cd7d 100644 --- a/apps/miniprogram/project.config.json +++ b/apps/miniprogram/project.config.json @@ -1,16 +1,14 @@ { + "appid": "wx20f4ef9cc2ec66c5", "miniprogramRoot": "dist/", - "projectname": "hms-miniprogram", - "description": "HMS 健康管理平台患者小程序", - "appid": "touristappid", + "compileType": "miniprogram", "setting": { + "autoAudits": false, "urlCheck": false, - "es6": false, + "es6": true, "enhance": true, - "compileHotReLoad": false, - "postcss": false, - "minified": false, - "bundle": false - }, - "compileType": "miniprogram" + "compileHotReLoad": true, + "postcss": true, + "minified": true + } }