From cb7fa7d6468575869743701a412302e24057ee37 Mon Sep 17 00:00:00 2001 From: kele <1184860403@qq.com> Date: Wed, 25 Oct 2023 16:50:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=B7=AF=E7=94=B1=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E4=B8=BAhistory=E6=97=B6=EF=BC=8C=E5=BE=AE=E4=BF=A1?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E7=99=BD=E5=B1=8Fbug=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sheep/helper/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sheep/helper/index.js b/sheep/helper/index.js index 7a9504d2..38e6afeb 100644 --- a/sheep/helper/index.js +++ b/sheep/helper/index.js @@ -638,7 +638,7 @@ function pages() { export function getRootUrl() { let url = ''; // #ifdef H5 - url = location.origin + location.pathname; + url = location.origin + '/'; if (location.hash !== '') { url += '#/';