From 30759d55607fab9c3d75d4933806c0d73be5128c Mon Sep 17 00:00:00 2001 From: qnnp Date: Mon, 22 Jan 2024 23:37:03 +0800 Subject: [PATCH] =?UTF-8?q?1.=20=E4=B8=BA=E7=94=9F=E6=88=90=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=96=87=E4=BB=B6=E6=96=B9=E6=B3=95=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E9=80=82=E9=85=8D=E5=99=A8=E5=8F=82=E6=95=B0,=20=E7=94=A8?= =?UTF-8?q?=E4=BA=8E=E9=80=82=E9=85=8D=E6=8F=92=E4=BB=B6=E5=8F=AF=E4=BB=A5?= =?UTF-8?q?=E6=A0=B9=E6=8D=AE=E9=9C=80=E8=A6=81=E4=BF=AE=E6=94=B9=E7=94=9F?= =?UTF-8?q?=E6=88=90=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=202.=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E7=99=BE=E5=BA=A6=E5=B0=8F=E7=A8=8B=E5=BA=8F=E7=94=9F?= =?UTF-8?q?=E6=88=90=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/taro-swan/src/program.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/taro-swan/src/program.ts b/packages/taro-swan/src/program.ts index e852ab2806e0..3c2b6b846f6a 100644 --- a/packages/taro-swan/src/program.ts +++ b/packages/taro-swan/src/program.ts @@ -41,9 +41,9 @@ export default class Swan extends TaroPlatformBase { ctx.generateFrameworkInfo() this.generateProjectConfig(PROJECT_JSON, PROJECT_JSON, (conf: Record) => { if (conf.smartProgramRoot) { - conf.smartProgramRoot = './'; + conf.smartProgramRoot = './' } - return conf; + return conf }) } })