|
@@ -8,7 +8,7 @@ export const gotoMemberCenter = () => {
|
|
|
postMessage({ api: 'back' });
|
|
|
const browserInfo = browser();
|
|
|
if (browserInfo.isApp) {
|
|
|
- const url = window.location.origin + `/#/member`;
|
|
|
+ const url = window.location.origin + window.location.pathname + `#/member`;
|
|
|
postMessage({
|
|
|
api: 'openWebView',
|
|
|
content: {
|
|
@@ -18,7 +18,7 @@ export const gotoMemberCenter = () => {
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
- location.href = location.origin + `/#/member`;
|
|
|
+ location.href = window.location.origin + window.location.pathname + `#/member`;
|
|
|
};
|
|
|
|
|
|
/**验证是否是会员 */
|