From 4b3c69927004c4ac2a6a1f579e4d1db6c8bf9fb4 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Mon, 28 Apr 2025 00:23:33 +0800 Subject: [PATCH] =?UTF-8?q?sync=EF=BC=9A=E5=BE=AE=E4=BF=A1=E5=85=AC?= =?UTF-8?q?=E4=BC=97=E5=8F=B7=E7=BD=91=E9=A1=B5=E6=8E=88=E6=9D=83=E7=99=BB?= =?UTF-8?q?=E5=BD=95=EF=BC=8C=E8=87=AA=E5=8A=A8=E8=8E=B7=E5=8F=96=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E5=85=A5=E5=8F=A3=E7=9A=84=E5=87=86=E7=A1=AE=E8=B7=AF?= =?UTF-8?q?=E5=BE=84=20https://gitee.com/sheepjs/shopro-uniapp/commit/7a82?= =?UTF-8?q?98aeede8d7ae4b1ca262169e1c62177bca9a?= 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 59272f5d..531dcd56 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 + '/'; + url = location.origin + location.pathname; if (location.hash !== '') { url += '#/';