diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 9c0739ae..d62372e0 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -186,12 +186,12 @@ export class MyApp { } //分享菜单了 app-sharemenu - - let sharemenu:HTMLElement = document.querySelector("app-sharemenu")|| null; + let sharemenu:HTMLElement = document.querySelector("app-sharemenu") || null; if(sharemenu != null){ let sharemenuMask:HTMLElement = document.getElementById("sharemenuMask") || null; if(sharemenuMask!= null){ sharemenuMask.click(); + sharemenu.remove(); } return; } diff --git a/src/app/pages/feeds/profile/profile.page.ts b/src/app/pages/feeds/profile/profile.page.ts index 7bd61998..736bc0d4 100644 --- a/src/app/pages/feeds/profile/profile.page.ts +++ b/src/app/pages/feeds/profile/profile.page.ts @@ -1841,7 +1841,6 @@ export class ProfilePage implements OnInit { this.intentService.share(title, sharedLink); } catch (error) { } - this.native.hideLoading(); return; } @@ -1893,6 +1892,10 @@ export class ProfilePage implements OnInit { this.hideSharMenuComponent = false; break; } + let sharemenu:HTMLElement = document.querySelector("app-sharemenu") || null; + if(sharemenu != null){ + sharemenu.remove(); + } } getQrCodeString(feed: any) { @@ -1950,6 +1953,7 @@ export class ProfilePage implements OnInit { followStatus: followStatus, channelSubscribes: feedSubscribes, }); + this.native.navigateForward(['/feedinfo'], ''); }