From 7d99a929b7f671f4e050af865b7cb8c7da7a453a Mon Sep 17 00:00:00 2001 From: wkj <278599135@qq.com> Date: Mon, 17 Apr 2023 10:17:36 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=88=86=E5=8C=85=E6=97=B6=E5=A4=84?= =?UTF-8?q?=E7=90=86path=E8=B7=AF=E5=BE=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/WechatMpPlugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/WechatMpPlugin.js b/plugins/WechatMpPlugin.js index 6c0b4ac..9fb30a3 100644 --- a/plugins/WechatMpPlugin.js +++ b/plugins/WechatMpPlugin.js @@ -179,7 +179,7 @@ class OakWeChatMpPlugin { independentPageRoots.push(subPage.root); } for (const page of subPage.pages || []) { - pages.push(path.join(subPage.root, page)); + pages.push(replaceDoubleSlash(path.join(subPage.root, page))); } }