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() {
this.setPublicShare();
// 调用API隐藏返回首页按钮
wx.hideHomeButton();
},
methods: {
getData(mescroll) {

View File

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