chore:隐藏了新闻和我的页面左上角的主页图标
This commit is contained in:
@@ -62,6 +62,8 @@ export default {
|
|||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
this.setPublicShare();
|
this.setPublicShare();
|
||||||
|
// 调用API隐藏返回首页按钮
|
||||||
|
wx.hideHomeButton();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
getData(mescroll) {
|
getData(mescroll) {
|
||||||
|
|||||||
@@ -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">
|
||||||
|
|||||||
Reference in New Issue
Block a user