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