chore:隐藏了新闻和我的页面左上角的主页图标

This commit is contained in:
2026-01-23 11:18:25 +08:00
parent eb3dcf05ed
commit fe9271659b
2 changed files with 8 additions and 1 deletions

View File

@@ -62,6 +62,8 @@ export default {
}, },
onShow() { onShow() {
this.setPublicShare(); this.setPublicShare();
// 调用API隐藏返回首页按钮
wx.hideHomeButton();
}, },
methods: { methods: {
getData(mescroll) { getData(mescroll) {

View File

@@ -91,7 +91,11 @@ export default {
tourl(url) { tourl(url) {
this.$util.redirectTo(url); this.$util.redirectTo(url);
}, },
onShow() {
this.setPublicShare();
// 调用API隐藏返回首页按钮
wx.hideHomeButton();
},
// 退出登录 // 退出登录
logout() { logout() {
uni.showModal({ uni.showModal({
@@ -143,6 +147,7 @@ export default {
} }
}; };
</script> </script>
<style lang="scss"> <style lang="scss">