fix: 在页面加载时统一隐藏首页按钮

在多个页面的onLoad生命周期中添加this.$util.hideHomeButton()调用,确保页面加载时即隐藏首页按钮,避免显示不一致问题。同时调整category.vue中onShow的逻辑顺序。
This commit is contained in:
2026-01-23 11:54:31 +08:00
parent ceca4e5956
commit 29b5cfda6f
3 changed files with 6 additions and 3 deletions

View File

@@ -252,6 +252,7 @@ export default {
};
},
onLoad(option) {
this.$util.hideHomeButton();
this.$langConfig.refresh();
this.$api.sendRequest({
url: '/api/member/personnel',

View File

@@ -86,6 +86,9 @@ export default {
nsNewGift
},
mixins: [diyJs, indexJs],
onLoad() {
this.$util.hideHomeButton();
},
onShow() {
this.$util.hideHomeButton();
},