修改路由模式为history时,微信登录白屏bug问题

pull/8/head
kele 2023-10-25 16:50:09 +08:00
parent 2a949d1b1f
commit cb7fa7d646
1 changed files with 1 additions and 1 deletions

View File

@ -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 += '#/';